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
8 changes: 4 additions & 4 deletions .github/workflows/durabletask-azuremanaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.14
- name: Install dependencies
working-directory: durabletask-azuremanaged
run: |
Expand All @@ -36,7 +36,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"]
env:
EMULATOR_VERSION: "latest"
needs: lint
Expand Down Expand Up @@ -100,7 +100,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13" # Adjust Python version as needed
python-version: "3.14" # Adjust Python version as needed

- name: Install dependencies
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/durabletask.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.13
- name: Set up Python 3.14
uses: actions/setup-python@v5
with:
python-version: 3.13
python-version: 3.14
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand All @@ -38,7 +38,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"]
needs: lint-and-unit-tests
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.13" # Adjust Python version as needed
python-version: "3.14" # Adjust Python version as needed

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion durabletask-azuremanaged/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,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
2 changes: 1 addition & 1 deletion 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
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ def orchestrator(ctx: task.OrchestrationContext, _):
# try:
# state = task_hub_client.wait_for_orchestration_completion(id, timeout=3)
# assert False, "Orchestration should not have completed"
# except TimeoutError:
# except (TimeoutError, _InactiveRpcError):
# pass

# # Resume the orchestration and wait for it to complete
Expand Down
4 changes: 3 additions & 1 deletion tests/durabletask/test_orchestration_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@

from durabletask import client, task, worker

from grpc._channel import _InactiveRpcError

# NOTE: These tests assume a sidecar process is running. Example command:
# go install github.com/microsoft/durabletask-go@main
# durabletask-go --port 4001
Expand Down Expand Up @@ -272,7 +274,7 @@ def orchestrator(ctx: task.OrchestrationContext, _):
try:
state = task_hub_client.wait_for_orchestration_completion(id, timeout=3)
assert False, "Orchestration should not have completed"
except TimeoutError:
except (TimeoutError, _InactiveRpcError):
pass

# Resume the orchestration and wait for it to complete
Expand Down
Loading