Skip to content

ci: run cloud and unit tests on Python 3.15 - #981

Merged
ParidelPooya merged 4 commits into
mainfrom
test/python315-integration
Nov 23, 2026
Merged

ParidelPooya merged 4 commits into
mainfrom
test/python315-integration

Conversation

@ParidelPooya

@ParidelPooya ParidelPooya commented Nov 22, 2026 •

Copy link
Copy Markdown
Contributor

Issue #, if available

None.

Description of changes

Lambda now offers the python3.15 runtime, and durable functions run on it.
This PR adds Python 3.15 as a new cloud test target and a new unit test target. The 3.11, 3.12, 3.13 and 3.14 targets stay as they are.

  • cloud-tests.yml: the matrix gets a 3.15 entry with prefix Py315. It deploys its own stack, Py315-python-examples.
  • ci.yml: the unit test matrix gets 3.15.
  • generate_sam_template.py: PythonRuntime accepts python3.15.

Design

  • Design note (rule 3): not needed. This is a CI target, not an SDK change.
  • Simpler options considered (rule 2): no new logic.
  • Root cause (rule 5): not a bug fix.
  • Net change in source lines and in public API members: +4 lines, no public API change.

Assumptions

  • Durable functions run on python3.15. Evidence: a test function in us-east-1 ran a step, a durable wait and a second step, and the execution ended SUCCEEDED.
  • The python3.15 runtime does not include the SDK. Evidence: the same function failed at init with No module named 'aws_durable_execution_sdk_python' until the SDK was bundled. The examples build already bundles the SDK, so the tests are not affected.
  • python3.15 is available in the CI region, us-west-2: unverified. This PR's cloud test run checks it.

Decisions not covered by the issue or the design note

  • The package classifiers are unchanged. Adding 3.15 there tells users the SDK supports 3.15, which is a release decision.

Checklist

  • Every new branch has a test that fails without it (rule 4): no new branches.
  • For a bug fix: the first commit adds a test that fails on the current code (rule 5): not a bug fix.
  • Every edited test expectation is listed in the description, with the reason (rule 5): none edited.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.
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.
@ParidelPooya ParidelPooya changed the title ci: run cloud tests on Python 3.15 ci: run cloud and unit tests on Python 3.15 Nov 22, 2026
@ParidelPooya
ParidelPooya marked this pull request as ready for review November 23, 2026 17:35
@ParidelPooya
ParidelPooya deployed to ai-pr-review-runtime November 23, 2026 17:35 — with GitHub Actions Active
@ParidelPooya
ParidelPooya merged commit 28b37ff into main Nov 23, 2026
18 checks passed
@ParidelPooya
ParidelPooya deleted the test/python315-integration branch November 23, 2026 17:35

This branch was successfully deployed

1 active deployment
ai-pr-review-runtime — f3d39d8c Deployed Nov 23, 2026 by ParidelPooya via notify / Generate notification summary #481
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants