Skip to content

Maintenance: drop support for Python 3.9 #6883

Closed

Description

@leandrodamascena

Why is this needed?

Summary

Important

Starting from December 15, 2025 Powertools for AWS Lambda (Python) will end support for Python 3.9

This action follows the date when AWS Lambda will mark the python3.9 as deprecated and precedes the date after which you will no longer be able to create new functions using the runtime.

We recommend that you upgrade your existing Python 3.9 functions to Python 3.11+ before December 15, 2025.

End of support does not impact existing functions and functions using versions of Powertools for AWS Lambda (Python) released before the date, however starting from this date we will not guarantee compatibility with Python 3.9.

You can use the following AWS CLI command to list all functions in a specific region using Python 3.8, including published function versions:

Note

Make sure to replace the value of the --region flag and run this command in each region you have Lambda functions workloads

aws lambda list-functions --function-version ALL --region <Region> --output text --query "Functions[?Runtime=='python3.9'].FunctionArn"

Why is this needed?

Starting from Dec 15, 2025 we will no longer be able to deploy new Lambda functions using the python3.9 runtime, this means we will no longer be able to run integration tests for new code changes.

With this in mind, we plan on dropping support for the runtime just three weeks before the date to avoid any impact in our releases and end2end tests.

Which area does this relate to?

Automation

Solution

No response

Acknowledgment

Activity

  1. added
    triage
    internal
    on Jun 27, 2025
  2. removed
    triage
    on Jun 27, 2025
  3. powertools-for-aws-oss-automation commented on Dec 16, 2025

    @powertools-for-aws-oss-automation

    Warning

    This issue is now closed. Please be mindful that future comments are hard for our team to see.
    If you need more assistance, please either reopen the issue, or open a new issue referencing this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  4. added
    pending-release
    on Dec 16, 2025
  5. unpinned this issue on Jan 5, 2026
  6. github-actions commented on Jan 5, 2026

    @github-actions
    Contributor

    This is now released under 3.24.0 version!

  7. removed
    pending-release
    on Jan 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

internal

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions