Skip to content

Support for Python 3.13 Lambdas #278

@paulbenschmidt

Description

@paulbenschmidt

Context

AWS announced support for Python 3.13 runtime in November 2024. When attempting to deploy to Localstack, however, I get the following error:

      StackId: 'arn:aws:cloudformation:***:000000000000:stack/proj/00000',
      EventId: '137610ba-70c5-44f1-89a1-2a906c535d2d',
      StackName: 'business-analytics-serverless-local',
      LogicalResourceId: 'MyLambdaFunction',
      PhysicalResourceId: 'arn:aws:cloudformation:***:000000000000:stack/proj/00000',
      ResourceType: 'AWS::Lambda::Function',
      Timestamp: 2025-08-28T13:53:58.640Z,
      ResourceStatus: 'CREATE_FAILED',
      ResourceStatusReason: "An error occurred (InvalidParameterValueException) when calling the CreateFunction operation: Value python3.13 at 'runtime' failed to satisfy constraint: Member must satisfy enum value set: [nodejs20.x, provided.al2023, python3.12, java17, nodejs16.x, dotnet8, python3.10, java11, python3.11, dotnet6, java21, nodejs18.x, provided.al2, ruby3.3, java8.al2, ruby3.2, python3.8, python3.9] or be a valid ARN"

Expected Behavior

Successful deployment of Python 3.13 Lambdas.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions