Repository navigation
Description
Why is this needed?
Important
Starting from February 1, 2027 Powertools for AWS Lambda (Python) will no longer support Python 3.10.
AWS Lambda marked the python3.10 runtime as deprecated on October 31, 2026, and CPython 3.10 reached end of life the same month, so it no longer receives security fixes. We are giving three months from that date before we remove it from our build.
What this means:
- The first release on or after February 1, 2027 will require Python 3.11 or newer (
requires-python >= 3.11), will not be tested on 3.10, and the public Lambda layer will stop being published forpython3.10. - Existing functions keep working. Versions of Powertools for AWS Lambda (Python) released before that date keep working on 3.10; pin to the last one if you need more time. We just stop guaranteeing compatibility from then on.
- Lambda itself will block creating new
python3.10functions on July 29, 2027 and updating them on August 31, 2027, so the upgrade is coming either way.
We recommend upgrading your Python 3.10 functions to Python 3.12 or newer. To list the functions still on the runtime, run this in each region you use:
aws lambda list-functions --function-version ALL --region <Region> --output text --query "Functions[?Runtime=='python3.10'].FunctionArn"Which area does this relate to?
Automation
Solution
Tracked here, one PR when the date comes: bump requires-python and the classifiers in pyproject.toml, remove 3.10 from the quality_check matrix and from layer_v3 (Dockerfile, install_libraries.sh, layer_stack.py, canary_stack.py), update docs/getting-started/install.md, docs/upgrade.md and docs/automation.md, and the Python badge in the README. Same shape as #8439, which retired 3.9.
Acknowledgment
- This request meets Powertools for AWS Lambda (Python) Tenets
- Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET
Metadata
Metadata
Assignees
Labels
Type
Projects
- StatusShow more project fieldsTriage
Activity
coughlmao commentedon Nov 3, 2026
Hi @leandrodamascena, I'd like to work on this issue as a community contribution.
I've reviewed the proposed solution and the previous Python 3.9 retirement PR (#8439). I believe I can help implement the Python 3.10 retirement changes.
Before starting, could you please confirm whether this issue is open for community contributions and whether the proposed scope is still accurate?
I'd be happy to take this on and submit a PR.
Thanks!