-
Notifications
You must be signed in to change notification settings - Fork 4
Build for limited API only on supported interpreters #17
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
Pass the limited API options only when building for non-free-threading CPython versions. Passing the flags on other interpreters (such as PyPy or GraalPy) or free-threading CPython versions results in build failures due to the limited API not being supported. While this package doesn't support free-threading Python right now, I think it makes sense to make the condition future-proof while I'm already fixing PyPy builds. See also cython/cython#7279 Signed-off-by: Michał Górny <[email protected]>
|
Hi Michał . Thanks for the PR. I have enabled free-threading GHA builds to check the changes. |
|
Oh, sorry, I've missed the I think this may also fix pp311 build. |
Signed-off-by: Michał Górny <[email protected]>
Signed-off-by: Michał Górny <[email protected]>
|
All green now :-). |
|
Thanks for the fix :) Let me know if you need a new release soon. |
|
I suppose it depends on how "soon" that is. I suppose we can stay on the old version for the time being, but would appreciate a new one in case Twisted were to start requiring the new version. |
|
I will merge and look to trigger a new release. Twisted will require soon a new version of this test helper, as part of the work to support Python 3.14 |
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.
LGMT :)
new release PR at #18
|
Thank you! |
Pass the limited API options only when building for non-free-threading CPython versions. Passing the flags on other interpreters (such as PyPy or GraalPy) or free-threading CPython versions results in build failures due to the limited API not being supported.
While this package doesn't support free-threading Python right now, I think it makes sense to make the condition future-proof while I'm already fixing PyPy builds.
See also cython/cython#7279