Replies: 1 comment 2 replies
-
For more detail, I'm exploring building limited API wheels for pyzmq with Cython 3.1 and cibuildwheel in zeromq/pyzmq#2051 A key point is that I can't just switch to a single stable api wheel and be done, because I need the buffer APIs added to the stable API in 3.11, but still support older Python than that. So I need to at least build wheels for <=3.10, 313t, pypy, and then a stable wheel for cp311. I'm trying to figure out the best way to do that where I want some stable API wheels targeting specific versions and other regular wheels in the most maintainable way I can. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am exploring limited API wheel suport in the Cython 3.1 alpha, and I am trying to figure out the simplest way to set the right API version to match the wheel tag. There are valuable features (I think) for my case in the 3.11 and 3.12 Limited APIs, so I am considering building one 3.8 wheel and at least one or both of 3.11 and 3.12.
I expected setting
wheel.pyapi=cp38
to set the equivalent ofUSE_SABI 3.8
, but it doesn't (I'm sure there's a good reason). And I can't seem to find thecp38
string anywhere in the cmake variables. What is the simplest way to set the SABI to match the version specified in wheel.py-api and/or set both from the same place?Beta Was this translation helpful? Give feedback.
All reactions