-
Notifications
You must be signed in to change notification settings - Fork 18
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
Python 3.11 compilation error #81
Comments
Likely an issue with the code generation from cython - there are several issues in the cython upstream bug tracker that claim to have fixed this - so I guess a refresh of the c code should do it using the latest cython master |
this is a backport of a change done in cython to include the correct definition of PyFrame for python 3.11. Only added a guard macro to avoid double including the header file Closes inveniosoftware-contrib#81 Signed-off-by: Konrad Weihmann <[email protected]>
@priv-kweihmann Thanks, the likely solution is to regen the C code indeed! |
Keeping this open until we have a stable fix upstream |
Reference: inveniosoftware-contrib#81 Signed-off-by: Philippe Ombredanne <[email protected]>
Using Cython 0.29.33 Cython-fix-by: Konrad Weihmann @priv-kweihmann Reference: inveniosoftware-contrib#81 Reference: inveniosoftware-contrib@a2dcd77 Signed-off-by: Philippe Ombredanne <[email protected]>
Using Cython 0.29.33 Cython-fix-by: Konrad Weihmann @priv-kweihmann Reference: inveniosoftware-contrib#81 Reference: inveniosoftware-contrib@a2dcd77 Signed-off-by: Philippe Ombredanne <[email protected]>
Reference: #81 Signed-off-by: Philippe Ombredanne <[email protected]>
Using Cython 0.29.33 Cython-fix-by: Konrad Weihmann @priv-kweihmann Reference: #81 Reference: a2dcd77 Signed-off-by: Philippe Ombredanne <[email protected]>
I hit a similar compilation error for this library with Python 3.10 installed (while trying to install scancode, @pombredanne). I am doing so on an Mac M1 arm chip:
|
I released macOS fat binary "universal" wheels in the last few days. These are not for Linux ARM though they should work on macOS M1 natively. Could you test if these pre-built binaries work on your machine with a pip install? |
Package version (if known): 3.0.1
Describe the bug
Compilation on x86-64 (and potentially all other platforms) fails
Steps to Reproduce
Try to compile the c extension with python 3.11.0 release, up to py 3.10.6 everything at least compiled
Expected behavior
c extension compiles
Screenshots (if applicable)
Additional context
The text was updated successfully, but these errors were encountered: