Open bastimeyer opened 3 weeks ago
Maybe this issue should be reported at setuptools/wheel/... so multiple abi levels can be build (e.g. cp35 for GIL enabled Python versions and cp313t (?) for GIL disabled Python).
Please have a look at this comment on the setuptools
issue tracker (bdist_wheel
has been vendored into setuptools
- wheel
won't patch its current implementation) and make a suggestion in regards to having a config option for building different kinds of wheels:
https://github.com/pypa/setuptools/issues/4420#issuecomment-2172946806
The maintainers of setuptools
are asking for feedback on how to solve building extensions with py_limited_api=True
being set when using a no-GIL environment. Please see here, thank you:
https://github.com/pypa/setuptools/pull/4424
CPython 3.13 has added the
--disable-gil
build option for disabling the global interpreter lock. This introduces some ABI changes and therefore adds thet
(threading) ABI flag until those changes become the default in upcoming CPython releases.This ABI flag unfortunately breaks building pycryptodome wheels in this kind of environment.
The issue appears to be the
py-limited-api
bdist_wheel
configuration: