Skip to content

Commit

Permalink
Add warning about Python 3.13 not being tested
Browse files Browse the repository at this point in the history
Signed-off-by: Joaquin Anton Guirao <janton@nvidia.com>
  • Loading branch information
jantonguirao committed Oct 30, 2024
1 parent 1e4d9d3 commit d145878
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions dali/python/nvidia/dali/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ def deprecation_warning(what):
"Please update your environment to use Python 3.8, "
"3.9, 3.10, or (experimentally) 3.11."
)
# py3.13 warning
if sys.version_info[0] == 3 and sys.version_info[1] == 13:
deprecation_warning(
"Python 3.13 support is experimental and not officially tested."
)

if int(str(__cuda_version__)[:2]) < 11:
deprecation_warning(
Expand Down

0 comments on commit d145878

Please sign in to comment.