Skip to content

Commit

Permalink
chore: remove Python < 3.9 logic and update dependencies (temporalio#728
Browse files Browse the repository at this point in the history
)

- Bump the minimum supported Python version from 3.8 to 3.9
- Remove macOS-specific code for Python < 3.8
- Update references in README, build.py, and poetry.lock accordingly

Closes temporalio#728
  • Loading branch information
ozeranskii authored and dandavison committed Jan 21, 2025
1 parent fe46e1a commit 219e196
Show file tree
Hide file tree
Showing 6 changed files with 1,031 additions and 777 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ users are encouraged to not use gevent in asyncio applications (including Tempor

# Development

The Python SDK is built to work with Python 3.8 and newer. It is built using
The Python SDK is built to work with Python 3.9 and newer. It is built using
[SDK Core](https://github.com/temporalio/sdk-core/) which is written in Rust.

### Building
Expand Down
2 changes: 1 addition & 1 deletion build.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def build(setup_kwargs):
path="temporalio/bridge/Cargo.toml",
binding=Binding.PyO3,
py_limited_api=True,
features=["pyo3/abi3-py38"],
features=["pyo3/abi3-py39"],
)
],
zip_safe=False,
Expand Down
Loading

0 comments on commit 219e196

Please sign in to comment.