temporalio / temporalio/sdk-python
[Feature Request] Research and make SDK free-threading capable/compatible
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 241
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 55
Description
Describe the solution you'd like
Kind of related to #863. Per https://pyo3.rs/v0.25.1/free-threading.html this should be a simple opt-in, but we may have struggles with Python Protobuf (have to confirm they are free-threading compat too). Need to research first and confirm findings and what we'd have to do if it's anything significant. We will also need to have CI-based confirmation of our compatibility with a free-threading runtime.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked PyO3 free-threading documentation and investigate whether Python Protobuf is compatible with free-threading. Confirm the SDK changes required and define CI-based confirmation against a free-threading runtime; done means the findings are documented and CI verifies compatibility.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100