Skip to content

Maintenance: remove Python 3.9 from layer automation #8434

Description

@dreamorosi

Why is this needed?

Powertools for AWS Lambda (Python) dropped Python 3.9 support in PR #7807 and release v3.24.0. Commercial Python 3.9 layers intentionally stop at layer version 27.

Partition automation still includes Python 3.9 in deployment, verification, and region bootstrap matrices. Any attempt to process commercial version 28 or later fails with ResourceNotFoundException before supported runtimes can proceed. This happened while aligning China production after version 27.

The stale entries also make the workflows advertise and operate on a runtime that the project no longer builds, tests, documents, or publishes.

Which area does this relate to?

Automation

Solution

Remove Python 3.9 layer entries from active layer automation, including:

  • Layer Deployment (Partitions);
  • Layer Verification (Partition);
  • GovCloud deployment and verification workflows;
  • Region Bootstrap;
  • any related maintainer documentation or matrices that still expect python39.

Keep existing Python 3.9 version-27 layers available for current users; this change should only stop automation from expecting newer versions.

Acknowledgment


Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

internalMaintenance changes

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions