-
Notifications
You must be signed in to change notification settings - Fork 280
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
BLD: fix compilation errors with Cython 3.0.0b1 (pow return type) #4365
BLD: fix compilation errors with Cython 3.0.0b1 (pow return type) #4365
Conversation
c4068fe
to
3f0d2a3
Compare
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.
Generally looks good -- one naive question: if cython.cpow
is introduced in 3.0, does 2.9x just ignore it?
Great question, I actually hadn't noticed that this decorator was new in Cython 3.0 and now I'm surprised that Cython 0.29 seems just happy to swallow it. I upstreamed your question (see cython/cython#5299 (comment)) |
So, this decorator was added to Cython 0.29.x as a no-op for backward compatibility, see Cython's changelog |
3f0d2a3
to
3934024
Compare
3934024
to
a2e0601
Compare
@@ -84,7 +84,7 @@ jobs: | |||
- name: Install build time dependencies | |||
shell: bash | |||
run: | | |||
python -m pip install "Cython>=0.29.21,<3.0" |
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.
forced-pushed again because I forgot to update this line too
Can we merge this to ease up work on the last compilation error ? |
OK by me -- I assume bumping the minimum version of cython from 0.29.21 to 0.29.33 shouldn't be an issue, right? seems totally reasonable to me... |
PR Summary
Fix most of the remaining compilation errors with Cython 3.0.0b1
Address the current top blocking problem in #4355
For context see cython/cython#5299