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

Support Python 3.13 #8651

Open
2 of 10 tasks
kmaehashi opened this issue Oct 8, 2024 · 2 comments
Open
2 of 10 tasks

Support Python 3.13 #8651

kmaehashi opened this issue Oct 8, 2024 · 2 comments
Assignees

Comments

@kmaehashi
Copy link
Member

kmaehashi commented Oct 8, 2024

Python 3.13 is out. We will likely need to bump to Cython 3.1.0+ to support running under the Free-threaded mode. Ref: https://py-free-threading.github.io/tracking/

Tasks

  • Read Release Notes
  • Check fastrlock compatibility Build failing with Python 3.13 scoder/fastrlock#20
  • Install Python to Windows CI image (ask @kmaehashi)
  • Fix code and CI to support the new vesrion.
    • FlexCI: Update .pfnci/schema.yaml and .pfnci/matirx.yaml (note: Some Python libraries may not be supported with the newer versions of Python. In that case you should also limit the library version.)
    • Package Metadata: Update package classifier and python_requires tag (if needed) in setup.py.
  • Backport the above PR.
  • Fix cupy-release-tools to support the new version.
  • Backport the above PR.
  • Update matrix configuration in cupy-package-builder (internal tool)
  • Fix documentation.
  • Backport the above PR.
@hauntsaninja
Copy link
Contributor

fastrlock 0.8.3 now supports Python 3.13! Would be nice to just have wheels for Python 3.13 for cupy-cuda (regular build, not free threading)

@jakirkham
Copy link
Member

jakirkham commented Jan 10, 2025

As Leo noted, upgrading to Cython 3 ( #4610 ) will also be needed for Python 3.13 support generally

This because Cython 0.29 lacks Python 3.13 support

xref: #8457 (comment)

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

No branches or pull requests

3 participants