-
Notifications
You must be signed in to change notification settings - Fork 6k
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
upgrade cython to 0.29.26 for py310 #21244
Conversation
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, this won't have an impact on Ray dependency requirements since outside a few cython examples in the repo, cython is not a runtime requirement (only needed for building the wheel), right?
cc @ericl @edoakes @richardliaw Can one of you have a look/approve/merge it? |
@@ -5,7 +5,7 @@ python: | |||
pip_packages: | |||
- terminado | |||
- boto3 | |||
- cython==0.29.0 | |||
- cython==0.29.26 |
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.
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.
+1, let's try to remove it in a follow up PR :)
The cyphon version usually gets upgraded with new python version, so this shows up in PR like ray-project#21244, removing the unnecesary pin as per ray-project#21244 (comment) I believe this was first introduced in this PR ray-project#16469. Signed-off-by: rickyyx <rickyx@anyscale.com> Signed-off-by: tmynn <hovhannes.tamoyan@gmail.com>
Why are these changes needed?
cython versions needs to be updated to at least this commit: cython/cython@d8e93b3 to work with py39 and later. The earliest cython version with this commit is 0.29.20. When upgrading mentions of cython version in our codebase, I noticed that we were using multiple cython versions. In lieu of this I decided to make all instances of cython versions consistent at the latest cython relaese of 0.29.26. This versions works all the way back to py36.
Related issue number
Required before #21221 gets merged.
Checks
scripts/format.sh
to lint the changes in this PR.