-
-
Notifications
You must be signed in to change notification settings - Fork 30.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
invalid conversion from ‘void*’ to ‘_PyCodeArray*’ found in internal headers when compiling with Python 3.14t #127411
Comments
The header is C code, not C++, and it is internal only, not a public header. Please see Ralf's comment on the SciPy issue for compiling SciPy with Cython 3.1.0a1. |
Oh - I think this should be referencing scipy/scipy#21970 instead. Ralf wrote:
Yes, the Cython dependencies on CPython internals are a headache every release. I think some of them have been removed; it'd be great if we can remove the remaining deps. In the meantime, we should just add a cast here so that it compiles in C++ as well. cc @mpage. |
At a quick glance, a simple cast within the internal header should suffice, since the compilation error isn't pointing to a line within the generated C++ code |
Yeah, the bandaid is to just change it to |
… in C++ (#127466) Cast the result of the load to the correct type
Bug report
Bug description:
Cross-reporting from
scipy/scipy#21968scipy/scipy#21970Installing scipy from git with the free-threaded interpreter yielded the following errors:
CPython versions tested on:
3.14
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: