-
Notifications
You must be signed in to change notification settings - Fork 296
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
Failure to build python module with Cython 3.0.0 #531
Comments
I just ran into this as well. For reference, this has been the case since 3.0.0a8: http://docs.cython.org/en/latest/src/changes.html#alpha-8-2021-07-02. |
Just to confirm that I've also come across this, and it seems important enough to be fixed! |
I also ran into this. One trick to work around this in GH Actions is to install the build requirements (including
|
After some tinkering, that did the trick. Thanks @lgarrison ! |
Cython 3.0.0 was released today. The build of the python module fails with this version of cython because “cpdef” is no longer allowed in the creation of local variables; instead, “cdef” should be used.
Changing all instances of “cpdef” to “cdef” seems to allow the build to success, and the python module resulting can be imported.
The text was updated successfully, but these errors were encountered: