Skip to content

feat: Add support for python3.12 runtime - #12300

Closed
LironEr wants to merge 1 commit into
serverless:v3from
LironEr:feat/python3_12
Closed

LironEr wants to merge 1 commit into
serverless:v3from
LironEr:feat/python3_12

Conversation

@LironEr

@LironEr LironEr commented Dec 18, 2023

Copy link
Copy Markdown

Add support for python 3.12 runtime (announcement)

Closes: #12299

@adminy

adminy commented Jan 5, 2024

Copy link
Copy Markdown

and 3.7 is deprecated

@DamianCzajkowski

Copy link
Copy Markdown

Hello, will work on merging these changes start anytime soon?

@StuartBertram

Copy link
Copy Markdown

I know it has been Christmas, but looking at the "blame" info, the Python 3.11 release was proposed on the 26th July and merged on the 27th when AWS made their announcement.

Hopefully it's quicker than Python 3.10, which was proposed on 18th April (the same day that it was annouonced) but not merged until 11th May because of vacation time!

@FinchPowers FinchPowers mentioned this pull request Jan 16, 2024
4 tasks done
@FinchPowers

Copy link
Copy Markdown
Contributor

There has been no activity over the master branch since December 6th. I wonder what will happen with Serverless v3 with the plans for v4.

ramsy-nl

This comment was marked as off-topic.

@robgagliano

Copy link
Copy Markdown

Is there any update on this PR?

@mgerlach

Copy link
Copy Markdown
Contributor

Hi, could this be merged quickly, please?

@andrea-bruno-moov andrea-bruno-moov left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

LGTM 👍
Can someone please approve this pull request quickly? Also, is there anything that is blocking the merge?

@norvalbv

Copy link
Copy Markdown

Commenting on this to hopefully bump it up. Version 3.12 would be ideal, hopefully can get merged asap.

@Mmarzex

Mmarzex commented Mar 6, 2024

Copy link
Copy Markdown
Contributor

Sorry everyone, this will be included in the v4 beta that is targeted for availability within the next week.

@mgerlach

mgerlach commented Mar 7, 2024 •

Copy link
Copy Markdown
Contributor

What's the policy for v3? Shouldn't this fix (as well as support for Java 21, dot.net 8, see respective PRs) be also released as minor v3 version?

@max-lobur

Copy link
Copy Markdown

Sorry everyone, this will be included in the v4 beta that is targeted for availability within the next week.

Why does this require a mayor release?

@jameshalsall

Copy link
Copy Markdown

Surely this can be merged now given v4 is available...

@FinchPowers

Copy link
Copy Markdown
Contributor

I just made a super simple plugin that allows to override the awsLambdaRuntime value of the validation schema.

https://www.npmjs.com/package/serverless-v3-aws-lambda-runtime-schema-override

It's a single file with no external dependencies.

@manumbs

manumbs commented Jun 24, 2024 •

Copy link
Copy Markdown

Sorry everyone, this will be included in the v4 beta that is targeted for availability within the next week.
That "next week" was over 6 weeks ago.

https://www.serverless.com/blog/serverless-framework-v4-a-new-model

This blog post is from October last year so it's not news for many, but it is for me. Seems like Serverless v4 is going to require a paid license for anything but the most modest commercial use. That blog post says that v3 will still be maintained with "critical security and bug fixes through 2024". I guess they don't consider supporting up to date Lambda runtimes as a critical security or bug fix. Many would beg to differ.

But it's kind of moot given that Serverless won't be a true open source project any longer. I hope someone forks from v3 and keeps it alive. Otherwise, time to pin to v3.latest and start migrating projects to SAM and deal with it's limitations.

@scolebrook why java21 is supported in v3 in this PR (merged recently) and python3.12 can't be as well?

@mgerlach

Copy link
Copy Markdown
Contributor

Meanwhile adding configValidationMode: warn to serverless.yml should work. We use it and are able to set the runtime to Python 3.12.

@aboggis-lc

aboggis-lc commented Oct 24, 2024 •

Copy link
Copy Markdown

Yea, V4 just isn't worth it to me/us right now.
I only have 3 apps, and they're small.
I've deployed them twice since I created them almost a year ago...

I know V4 has 2 free credits, but in reality, I think 4 or 5 would be a better bet to hook people in.

My work-around to this issue was to set:

configValidationMode: warn

is the serverless.yml file.

@serverless serverless deleted a comment from dnevzorov Oct 25, 2024
@serverless serverless deleted a comment from pkucmus Oct 25, 2024
@austencollins

austencollins commented Oct 25, 2024 •

Copy link
Copy Markdown
Member

Closing this PR. The feature is available in V.4, along with additional improvements, and this PR is getting spammy.

@serverless serverless deleted a comment from pkucmus Oct 25, 2024
@serverless serverless deleted a comment from scolebrook Oct 29, 2024
@serverless serverless deleted a comment from scolebrook Oct 29, 2024
@serverless serverless deleted a comment from adminy Oct 29, 2024
@serverless serverless deleted a comment from mgerlach Oct 29, 2024
@serverless serverless deleted a comment from max-lobur Oct 29, 2024
@serverless serverless deleted a comment from astuyve Oct 29, 2024
@serverless serverless deleted a comment from dnevzorov Oct 29, 2024
@serverless serverless deleted a comment from JeffTax Oct 29, 2024
@serverless serverless deleted a comment from tibbe May 11, 2025
@serverless serverless deleted a comment from JeffTax May 11, 2025
@serverless serverless deleted a comment from mgerlach May 11, 2025
@serverless serverless locked as spam and limited conversation to collaborators May 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for python3.12 runtime