Maintained with ☕️ by
IcePanel logo

AWS Lambda adds support for Python 3.13

Share

Services

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)](https://docs.powertools.aws.dev/lambda/python/latest/), 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](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/), 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](https://aws.amazon.com/blogs/compute/python-3-13-runtime-now-available-in-aws-lambda/). For more information about AWS Lambda, visit the [product page](https://aws.amazon.com/lambda/).