-
Notifications
You must be signed in to change notification settings - Fork 121
Builds are failing on free-threaded Python #476
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
Comments
We are working on supporting the free-threaded build over in #471. We still need to make sure that we get |
Thanks for pointing to that PR @Icxolu! |
Are there any recommended workarounds or working versions in the meantime?
Any hints appreciated. |
|
Yes, this is now resolved. Thanks for the reminder! |
Hi!
I searched quite a lot, but I could not find any issue mentioning the fact that one cannot build this library with free-threaded Python, which can arise automatically with recent PyO3 versions and the use of
--find-interpreter
to build the library, which findsPython3.13t
on Linux platforms.So with the recent releases of PyO3 (started with
0.23.2
, I think), my CI builds started failing. I noticed the following issue:The use of
GILProtected
seems quite restricted in your project, and I was wondering if this issue could be solved by using aMutex
instead, as done by @davidhewitt in thejiter
module, see crates/jiter/src/py_string_cache.rs.If free-threaded Python is incompatible with this project, maybe it could be better to emit a
compile_error!(...)
instead?The text was updated successfully, but these errors were encountered: