Open robertreservix opened 4 months ago
Seems a duplicate of https://github.com/serverless/serverless/pull/12300
@nikitajz Will the changes from serverless/serverless automatically built into this project? I thought that the versions are hard coded, but I might be wrong.
@robertreservix seems you're right - it's more a duplicate of the code (configuration) rather than GH issue. I didn't pay enough attention that it's a separate project since I left a comment when was reviewing serverless repo issues
Thank you @robertreservix for the PR. This is no longer needed I think. I just merged a PR that adds support for python3.12 - #1755
Actually I need to reopen this, because serverless doesn't support python 3.12 - https://github.com/serverless/serverless/pull/12300
Hello just wanted to ask whether this will be merged anytime soon? As a workaround right now I'm using: https://www.npmjs.com/package/patch-package With this patch:
diff --git a/node_modules/serverless-offline/src/config/supportedRuntimes.js b/node_modules/serverless-offline/src/config/supportedRuntimes.js
index 9fe7f0e..c0fbc3a 100644
--- a/node_modules/serverless-offline/src/config/supportedRuntimes.js
+++ b/node_modules/serverless-offline/src/config/supportedRuntimes.js
@@ -20,6 +20,7 @@ export const supportedRuntimesArchitecture = {
"python3.9": [ARM64, X86_64],
"python3.10": [ARM64, X86_64],
"python3.11": [ARM64, X86_64],
+ "python3.12": [ARM64, X86_64],
"ruby2.7": [ARM64, X86_64],
"ruby3.2": [ARM64, X86_64],
java8: [X86_64],
@@ -62,6 +63,7 @@ export const supportedPython = new Set([
"python3.9",
"python3.10",
"python3.11",
+ "python3.12",
])
Description
Add support for Python 3.12
Motivation and Context
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
Screenshots (if appropriate):