Skip to content
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

Test rustworkx with free-threaded Python #1251

Open
IvanIsCoding opened this issue Jul 14, 2024 · 2 comments
Open

Test rustworkx with free-threaded Python #1251

IvanIsCoding opened this issue Jul 14, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@IvanIsCoding
Copy link
Collaborator

What is the expected enhancement?

Starting with 3.13, we should test rustworkx with https://py-free-threading.github.io/ to make sure it at least work with a single-thread setting. I don't think we should make our data structures thread-safe (that is a lot of overhead).

Of course this will heavily depend on PyO3 and their API offerings. But so far they have made progress on removing the GIL

@IvanIsCoding
Copy link
Collaborator Author

And we are blocked until NumPy releases a new version supporting free threaded Python anyway: https://py-free-threading.github.io/tracking/.

@gulldan
Copy link

gulldan commented Aug 23, 2024

@IvanIsCoding IvanIsCoding added the enhancement New feature or request label Aug 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants