Initial support for abi3t.abi3 wheels.#232
Conversation
|
Interesting, I haven't seen that race in ctypes before and I don't see any upstream discussion. |
|
It looks like CI is green. However, I forgot that most of the test jobs build wheels with cibuildwheel, and I'll need to wait for 3.15.0b1 to add 3.15 and 3.15t tests outside the pytest-run-parallel CI. |
|
cibuildwheel 4.0 w/ 3.15 support is out! 🎉 (yes, I'm waiting for a 3.15 cffi in general, and ideally one with stable ft abi in particular 😇) |
|
Thanks for the ping, this definitely needs an update now that Python 3.15 is in beta. Unfortunately setuptools support is going to need to wait on pypa/setuptools#5193 and for development to restart moving on setuptools. I also have #241 open, which I'm hoping will provide an escape hatch for people who feel like CFFI forces them to use setuptools. |
| ffi = FFI() | ||
| ffi.cdef("int foo(int);") | ||
| lib = ffi.verify(""" | ||
| #include <errno.h> |
There was a problem hiding this comment.
This is needed now because CPython intentionally doesn't trasiently include errno.h on python limited API versions newer than 3.11: https://github.com/python/cpython/blob/5c1321731403031d933ca469977e4bb3859c8680/Include/Python.h#L32-L48
|
I marked this ready for review, CI is green 🥳 |
Towards fixing #226.
Also adds Python 3.15 CI and drops Python 3.9.
It looks like CFFI's
setuptoolsextension is sufficiently independent from setuptools that pypa/setuptools#5193 isn't required for this to work.