Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not use numpy.typing when not available #4706

Merged
merged 1 commit into from
Mar 13, 2023

Conversation

stiepan
Copy link
Member

@stiepan stiepan commented Mar 13, 2023

Category:

Bug fix (non-breaking change which fixes an issue)

Description:

For Python3.6 the 1.20 and newer versions of numpy are not available, which means numpy.typing won't work there.
This PR adds a fallback for when the numpy.typing is not avialable.

Additional information:

Affected modules and functionalities:

Key points relevant for the review:

Tests:

  • Existing tests apply
  • New tests added
    • Python tests
    • GTests
    • Benchmark
    • Other
  • N/A

Checklist

Documentation

  • Existing documentation applies
  • Documentation updated
    • Docstring
    • Doxygen
    • RST
    • Jupyter
    • Other
  • N/A

DALI team only

Requirements

  • Implements new requirements
  • Affects existing requirements
  • N/A

REQ IDs: N/A

JIRA TASK: N/A

Signed-off-by: Kamil Tokarski <ktokarski@nvidia.com>
@JanuszL JanuszL self-assigned this Mar 13, 2023
@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7566667]: BUILD STARTED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7566667]: BUILD FAILED

@dali-automaton
Copy link
Collaborator

CI MESSAGE: [7566667]: BUILD PASSED

@stiepan stiepan merged commit 2197024 into NVIDIA:main Mar 13, 2023
@stiepan stiepan mentioned this pull request Mar 14, 2023
18 tasks
stiepan added a commit that referenced this pull request Mar 14, 2023
Signed-off-by: Kamil Tokarski <ktokarski@nvidia.com>
aderylo pushed a commit to zpp-dali-2022/DALI that referenced this pull request Mar 17, 2023
Signed-off-by: Kamil Tokarski <ktokarski@nvidia.com>
@JanuszL JanuszL mentioned this pull request Sep 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants