Prevent greenlet from building on free-threaded Python #423
Labels
Feature Request
Feature request
Help Wanted
Internal
Discussions on processes, etc, that don't directly face end users
We don't set the flag that indicates we're compatible with free-threading, so loading us would automatically enable the GIL according to the Python documentation. It is thus misleading that we can even build on a free-threaded Python and get the "t" suffix, e.g., "313t".
The
make-manylinux
script has some support for skipping free-threaded Python's, but it's neither complete nor sufficient.The trouble is that CPython doesn't document a way to detect at compile time that it is built on free-threading. At least, not that I could see in the "Porting to 3.13" and "C API Changes" sections of the release notes.
The text was updated successfully, but these errors were encountered: