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

upgrade cython to 0.29.26 for py310 #21244

Merged
merged 1 commit into from
Dec 27, 2021
Merged

upgrade cython to 0.29.26 for py310 #21244

merged 1 commit into from
Dec 27, 2021

Conversation

acxz
Copy link
Contributor

@acxz acxz commented Dec 22, 2021

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

  • I've run scripts/format.sh to lint the changes in this PR.
  • I've included any doc changes needed for https://docs.ray.io/en/master/.
  • I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
  • Testing Strategy
    • Unit tests
    • Release tests
    • This PR is not tested :(

Copy link
Contributor

@pcmoritz pcmoritz left a 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?

@pcmoritz
Copy link
Contributor

pcmoritz commented Dec 23, 2021

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
Copy link
Contributor

@ericl ericl Dec 27, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI @rkooo567 @simon-mo it's a bit weird we have to have this in the stress test config.

Copy link
Contributor

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 :)

@pcmoritz pcmoritz merged commit cbcd03b into ray-project:master Dec 27, 2021
@acxz acxz deleted the cython-upgrd branch January 19, 2022 00:09
scv119 pushed a commit that referenced this pull request Jan 3, 2023
The cyphon version usually gets upgraded with new python version, so this shows up in PR like #21244, removing the unnecesary pin as per #21244 (comment)

I believe this was first introduced in this PR #16469.
Signed-off-by: rickyyx <rickyx@anyscale.com>
AmeerHajAli pushed a commit that referenced this pull request Jan 12, 2023
The cyphon version usually gets upgraded with new python version, so this shows up in PR like #21244, removing the unnecesary pin as per #21244 (comment)

I believe this was first introduced in this PR #16469.
Signed-off-by: rickyyx <rickyx@anyscale.com>
tamohannes pushed a commit to ju2ez/ray that referenced this pull request Jan 25, 2023
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>
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.

3 participants