Skip to content

Conversation

@Zer0x00
Copy link

@Zer0x00 Zer0x00 commented Jan 15, 2025

Description

Add support for Python 3.12 and 3.12 to v13 version

Motivation and Context

Python 3.12 is supported by v14 but not by v13.

How Has This Been Tested?

There is a warning, coming probably from serverless, but nevertheless I can work with Python 3.12 using this fork

❯ serverless offline
Running "serverless" from node_modules

Warning: Invalid configuration encountered
  at 'provider.runtime': must be equal to one of the allowed values [dotnet6, go1.x, java17, java11, java8, java8.al2, nodejs14.x, nodejs16.x, nodejs18.x, nodejs20.x, provided, provided.al2, provided.al2023, python3.7, python3.8, python3.9, python3.10, python3.11, ruby2.7, ruby3.2]

Learn more about configuration validation here: http://slss.io/configuration-validation

Starting Offline at stage dev (<some-aws-region>)

Offline [http for lambda] listening on http://localhost:3002
Function names exposed for local invocation by aws-sdk:
           * main: <some-function-name>

   ┌────────────────────────────────────────────────────────────────────────┐
   │                                                                        │
   │   POST | http://localhost:3000/                                        │
   │   POST | http://localhost:3000/2015-03-31/functions/main/invocations   │
   │                                                                        │
   └────────────────────────────────────────────────────────────────────────┘

Server ready: http://localhost:3000 🚀

Screenshots (if appropriate):

@vuongtrunghieu
Copy link

Seems like they missed it for v13.7.0 in the changelog https://github.com/dherault/serverless-offline/blob/v13/CHANGELOG.md#1370-2024-05-21.

Copy link
Owner

@dherault dherault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's ship it!

@dherault dherault merged commit 97b21df into dherault:v13 Jan 31, 2025
6 of 9 checks passed
@vuongtrunghieu
Copy link

Hi @dherault, @DorianMazur, just checking... Can we make a v13 release for this?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants