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

Declare free-threading support #104

Merged
merged 4 commits into from
Nov 20, 2024

Conversation

ngoldbaum
Copy link
Contributor

On the way towards closing #101, but fully fixing that will need to wait on PyO3/maturin#2315.

In the meantime we can work around the thread safety issue in methodcaller that's been reported upstream and declare the module to be thread-safe.

I decided to make it so all test jobs use --parallel-threads=10 and not limit it to the free-threaded build because the tests run very quickly and I didn't see the need to complicate the CI config for little gain.

@Julian
Copy link
Member

Julian commented Nov 20, 2024

Thanks for this and for finding the upstream issue! Looks great. Merging.

@Julian Julian merged commit da3241f into crate-py:main Nov 20, 2024
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants