Skip to content

Commit 13c3a47

Browse files
authored
update valid python runtimes (#10393)
1 parent e6b0438 commit 13c3a47

4 files changed

Lines changed: 13 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
- Fixed an issue where hosting deploy allowed publishing to a site in a different project. (#10376)
22
- Added 'firebase_deploy' and 'firebase_deploy_status' MCP tools.
33
- Added SSE mode support to `firebase mcp`. To use it, run `firebase mcp --mode=sse --port=3000`, and connect your client on `http://localhost:3000`.
4+
- Update the valid Python runtimes for functions. Default Python runtime is now Python 3.14.

schema/firebase-config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"python310",
1313
"python311",
1414
"python312",
15-
"python313"
15+
"python313",
16+
"python314"
1617
],
1718
"type": "string"
1819
},
@@ -965,7 +966,8 @@
965966
"python310",
966967
"python311",
967968
"python312",
968-
"python313"
969+
"python313",
970+
"python314"
969971
],
970972
"type": "string"
971973
},

src/deploy/functions/runtimes/python/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export function getPythonBinary(
6262
return "python3.12";
6363
} else if (runtime === "python313") {
6464
return "python3.13";
65+
} else if (runtime === "python314") {
66+
return "python3.14";
6567
}
6668
assertExhaustive(runtime, `Unhandled python runtime ${runtime as string}`);
6769
}

src/deploy/functions/runtimes/supported/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ export const RUNTIMES = runtimes({
119119
deprecationDate: "2029-10-10",
120120
decommissionDate: "2030-04-10",
121121
},
122+
python314: {
123+
friendly: "Python 3.14",
124+
status: "GA",
125+
deprecationDate: "2030-10-10",
126+
decommissionDate: "2031-04-10",
127+
},
122128
dart3: {
123129
friendly: "Dart 3",
124130
status: "experimental",

0 commit comments

Comments
 (0)