Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]

steps:
- uses: actions/checkout@v4
Expand All @@ -43,7 +43,8 @@ jobs:
# Install and run the durabletask-go sidecar for running e2e tests
- name: Pytest e2e tests
run: |
go install github.com/dapr/durabletask-go@main
# TODO: use dapr run instead of durabletask-go as it provides a more reliable sidecar behaviorfor e2e tests
go install github.com/dapr/durabletask-go@main
durabletask-go --port 4001 &
tox -e py${{ matrix.python-version }}-e2e
publish:
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
]
requires-python = ">=3.9"
requires-python = ">=3.10"
license = {file = "LICENSE"}
readme = "README.md"
dependencies = [
Expand Down Expand Up @@ -62,7 +62,7 @@ dev = [
]

[tool.ruff]
target-version = "py310" # TODO: update to py310 when we drop support for py39
target-version = "py310"
line-length = 100
extend-exclude = [".github", "durabletask/internal/orchestrator_service_*.*"]

Expand Down
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
skipsdist = True
minversion = 3.10.0
envlist =
py{39,310,311,312,313,314}
py{310,311,312,313,314}
ruff,
mypy,
# TODO: switch runner to uv (tox-uv plugin)
runner = virtualenv

[testenv]
# you can run tox with the e2e pytest marker using tox factors:
# tox -e py39,py310,py311,py312,py313,py314 -- e2e
# tox -e py310,py311,py312,py313,py314 -- e2e
# or single one with:
# tox -e py310-e2e
# to use custom grpc endpoint and not capture print statements (-s arg in pytest):
Expand Down
Loading