-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
CI Add CPython 3.13 free-threaded build and remove historic nogil Python 3.9 build #29191
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
Conversation
Actually now that scipy free-threaded wheels are available (I thought it was going to take a bit more time than this) I think this will be easier if I change this PR to be about replacing CPython 3.9 nogil with CPython 3.13 free-threaded. So I am going to make this PR as draft and remove the labels. |
Feel free to ping when it's ready then :) |
Good news the CPython 3.13 free-threaded tests pass in the CI 🎉, see build log Now time for clean-up! |
OK I am marking this as ready for review! Things to note:
|
ping @adrinjalali @ogrisel for a review 🙏, see #29191 (comment) for a high-level summary. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks very much @lesteve!
Co-authored-by: Olivier Grisel <olivier.grisel@ensta.org>
# build_tools/azure/cpython_free_threaded_requirements.txt when there | ||
# is a CPython 3.13 free-threaded wheel | ||
# For now, we need the development version of Cython which has CPython | ||
# 3.13 free-threaded fixes so we install it from source |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About 30hours ago a cython wheel appeared on https://anaconda.org/scientific-python-nightly-wheels/Cython/files (I think someone worked on this during the scientific python summit?)
Is it worth using that instead of building from source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, I am a bit confused though that there is only a pure Python wheel and not python version specific wheels like there is on PyPI ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it because cython itself doesn't contain any compiled code/c extensions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Merging to see it in action. The comment about using the cython nightly wheel can be done in a new PR I think.
Related to #28978
Free-threaded developement wheels are available for Numpy and Scipy on https://anaconda.org/scientific-python-nightly-wheels.
This removes the historic nogil Python 3.9 build and closes #29189.
Similar PRs: