Skip to content

Commit

Permalink
Update Temporal to 1.5.0 and Python 3.8+ (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
cretz authored Jan 10, 2024
1 parent c6cf076 commit 6bcab28
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 85 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
python: ["3.7", "3.11"]
python: ["3.8", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
Expand All @@ -32,9 +32,9 @@ jobs:
- run: poe test -s -o log_cli_level=DEBUG
- run: poe test -s -o log_cli_level=DEBUG --workflow-environment time-skipping

# On non-3.7, run gevent test
# On latest, run gevent test
- name: Gevent test
if: ${{ matrix.python != '3.7' }}
if: ${{ matrix.python == '3.12' }}
run: |
poetry install --with gevent
poetry run python gevent_async/test/run_combined.py
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is the set of Python samples for the [Python SDK](https://github.com/tempor

Prerequisites:

* Python >= 3.7
* Python >= 3.8
* [Poetry](https://python-poetry.org)
* [Local Temporal server running](https://docs.temporal.io/application-development/foundations#run-a-development-cluster)

Expand Down
91 changes: 12 additions & 79 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ packages = [
"Bug Tracker" = "https://github.com/temporalio/samples-python/issues"

[tool.poetry.dependencies]
python = "^3.7"
temporalio = "^1.4.0"
python = "^3.8"
temporalio = "^1.5.0"

[tool.poetry.dev-dependencies]
black = "^22.3.0"
Expand Down

0 comments on commit 6bcab28

Please sign in to comment.