-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
MNT: try updating pythoncapi-compat #26213
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
Conversation
The build failure is only for python 3.13, right? |
I'm not sure this failure is even in a tagged pre-release. |
I fixed the issue with the current Python main branch in pythoncapi-compat: python/pythoncapi-compat#89 (comment) |
Needed for current cpython main branch
cf25c00
to
93fd0a5
Compare
Does a CI fail with pythoncapi-compat.h and Python 3.13? Which CI? |
It looks like a linux CI that has
not sure offhand why the compiler considers this one unused but not all the others |
It's a stupid mistake: I forgot "inline" in "static inline". Fixed in pythoncapi-compat by python/pythoncapi-compat@01341ac |
I can confirm that with this PR to numpy + cpython main numpy builds for me locally. |
@tacaswell can you update the submodule once more to fix the compiler warning failing CI? |
Ah, sorry did not get to this. |
No worries, figured I'd just push on top of this to finish it up. |
I can also confirm that this PR builds with cpython main still. |
Pulling this in, thanks for getting the ball rolling on this @tacaswell! |
Thanks for the bug reports, it helped me to discover bugs and enhance pythoncapi-compat :-) |
xref to python/pythoncapi-compat#89It looks like python/cpython#116883 and python/pythoncapi-compat#87 are collaborating to break the numpy build.This was fixed upstream so update instead of revert.