AWS Lambda adds support for Python 3.13
AWS Lambda now supports creating serverless applications using Python 3.13. Developers can use Python 3.13 as both a managed runtime and a container base image, and AWS will automatically apply updates to the managed runtime and base image as they become available.
Python 3.13 is the latest long-term support (LTS) release of Python and is expected to be supported for security and bug fixes until October 2029. This release provides Lambda customers access to the latest Python 3.13 language features. You can use Python 3.13 with Lambda@Edge (in supported Regions), allowing you to customize low-latency content delivered through Amazon CloudFront. Powertools for AWS Lambda (Python), a developer toolkit to implement serverless best practices and increase developer velocity, also supports Python 3.13.
The Python 3.13 runtime is available in all Regions where Lambda is available, including China and the AWS GovCloud (US) Regions.
You can use the full range of AWS deployment tools, including the Lambda console, AWS CLI, AWS Serverless Application Model (AWS SAM), AWS CDK, and AWS CloudFormation to deploy and manage serverless applications written in Python 3.13. For more information, including guidance on upgrading existing Lambda functions, read our blog post. For more information about AWS Lambda, visit the product page.