Skip to content
Evergreen Evergreen
Documentation

AWS Lambda Python 3.9 runtime is end-of-life

End of life as of 2025-12-15. Replacement: python3.14 or python3.13. Source: AWS Lambda runtimes.

Check a version:

evergreen check pkg:generic/aws-lambda-runtime/python3.9

The AWS Lambda runtimes table lists python3.9 under Deprecated runtimes with deprecation date 2025-12-15. AWS no longer applies security or other updates to that managed runtime.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status End of life
Severity high
Ecosystem serverless
Component pkg:generic/aws-lambda-runtime/python3.9
Affected versions vers:semver/*
Date from the source 2025-12-15
Replacement python3.14 or python3.13
Evidence last seen 2026-10-30
Reviewed 2026-10-30 by arminazimi
Review due 2027-01-28 (90 days after the last review)
Rule ID serverless.aws-lambda.python3.9

Sources

Migration

Constraints

  • Keep provider.runtime, Globals.Function.Runtime, per-function Runtime, and Terraform aws_lambda_function.runtime on one AWS Lambda runtime identifier that AWS still supports.
  • Raising the managed runtime can require Python language and dependency changes; confirm handlers and native modules run on the replacement before deploying.

Steps

  1. Raise the AWS Lambda runtime. Change the reported Runtime (or provider.runtime / terraform runtime) from python3.9 to a supported AWS Lambda Python identifier (see the replacement).
  2. Align other runtime surfaces. Update every other SAM/CloudFormation Globals or function Runtime, serverless.yml provider or function runtime, Terraform aws_lambda_function.runtime, and CI deploy config that still pins python3.9.

Verification

  • sam validate || serverless print || terraform validate: Validate the updated SAM, Serverless Framework, or Terraform declaration before deploy.

Detected by

The serverless detector. See Detectors and Compatibility.

Same ecosystem

Data

This page is generated from registry/serverless.json, rule serverless.aws-lambda.python3.9, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated