From 0409305b3a995c23db720e4eec9993415206c5bc Mon Sep 17 00:00:00 2001 From: Pooya Paridel Date: Sun, 22 Nov 2026 17:58:17 +0000 Subject: [PATCH 1/2] ci: run cloud tests on Python 3.15 Lambda now offers the python3.15 runtime, and durable functions run on it. So the cloud test matrix now includes Python 3.15, and the SAM template accepts python3.15 as a PythonRuntime value. The examples bundle the SDK, so the tests do not depend on a copy in the runtime. The python3.15 runtime does not include the SDK. --- .github/workflows/cloud-tests.yml | 2 ++ .../scripts/generate_sam_template.py | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/workflows/cloud-tests.yml b/.github/workflows/cloud-tests.yml index c2d8166d8..f64127f56 100644 --- a/.github/workflows/cloud-tests.yml +++ b/.github/workflows/cloud-tests.yml @@ -59,6 +59,8 @@ jobs: python-prefix: Py313 - python-version: "3.14" python-prefix: Py314 + - python-version: "3.15" + python-prefix: Py315 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 diff --git a/packages/aws-durable-execution-sdk-python-examples/scripts/generate_sam_template.py b/packages/aws-durable-execution-sdk-python-examples/scripts/generate_sam_template.py index 5af380358..38e9018e5 100644 --- a/packages/aws-durable-execution-sdk-python-examples/scripts/generate_sam_template.py +++ b/packages/aws-durable-execution-sdk-python-examples/scripts/generate_sam_template.py @@ -60,6 +60,7 @@ def build_template(examples: list[dict[str, Any]]) -> dict[str, Any]: "python3.12", "python3.13", "python3.14", + "python3.15", ], "Description": "Python runtime to use for all example Lambda functions.", }, From 03b66b10a77c322a100c9b3815564d1d9d2387d2 Mon Sep 17 00:00:00 2001 From: Pooya Paridel Date: Sun, 22 Nov 2026 18:23:17 +0000 Subject: [PATCH 2/2] ci: run unit tests on Python 3.15 The unit test matrix now includes Python 3.15, next to 3.11 to 3.14. So a change in Python 3.15 shows up in the unit tests before the cloud tests run. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 731116154..30c4a925f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,7 +59,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.11","3.12","3.13","3.14"] + python-version: ["3.11","3.12","3.13","3.14","3.15"] steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1