diff --git a/.github/workflows/pr-validation.yml b/.github/workflows/pr-validation.yml index e412ef9..3ed790b 100644 --- a/.github/workflows/pr-validation.yml +++ b/.github/workflows/pr-validation.yml @@ -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 @@ -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: diff --git a/pyproject.toml b/pyproject.toml index 575bc4a..6626bc2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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 = [ @@ -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_*.*"] diff --git a/tox.ini b/tox.ini index e035797..9b21313 100644 --- a/tox.ini +++ b/tox.ini @@ -2,7 +2,7 @@ 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) @@ -10,7 +10,7 @@ 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):