From 442d17e4f50ad23934cefa6cf101e901cd8234db Mon Sep 17 00:00:00 2001 From: Steph Locke Date: Fri, 8 Aug 2025 12:53:51 +0100 Subject: [PATCH 1/2] Update constants.ts for python versions Per https://devguide.python.org/versions/ currently released python version is 3.13 with a new one out in October --- src/core/constants.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/constants.ts b/src/core/constants.ts index e0f8ddcd7..5843b411d 100644 --- a/src/core/constants.ts +++ b/src/core/constants.ts @@ -308,7 +308,7 @@ export const SUPPORTED_VERSIONS = { Node: ["12", "14", "16", "18"], Dotnet: ["3.1", "6.0"], DotnetIsolated: ["6.0", "7.0", "8.0"], - Python: ["3.8", "3.9", "3.10"], + Python: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"], }; export const DEFAULT_RUNTIME_LANGUAGE = "node"; From d8341a2ea0b10591dc0f956dd6a739a13477f012 Mon Sep 17 00:00:00 2001 From: Steph Locke Date: Fri, 8 Aug 2025 12:56:52 +0100 Subject: [PATCH 2/2] Update staticwebapp.config.json to support newer python versions --- schema/staticwebapp.config.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/schema/staticwebapp.config.json b/schema/staticwebapp.config.json index 0dd242695..4e3ca0ca8 100644 --- a/schema/staticwebapp.config.json +++ b/schema/staticwebapp.config.json @@ -598,7 +598,10 @@ "node:20", "python:3.8", "python:3.9", - "python:3.10" + "python:3.10", + "python:3.11", + "python:3.12", + "python:3.13" ], "description": "Language runtime for the managed functions API" }