Skip to content

Commit cad5f88

Browse files
Adding Python 3.14 as a supported runtime (#634)
1 parent cc69e28 commit cad5f88

3 files changed

Lines changed: 13 additions & 0 deletions

File tree

scripts/generate_layers_json.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ LAYER_NAMES=(
3232
"Datadog-Python312-ARM"
3333
"Datadog-Python313"
3434
"Datadog-Python313-ARM"
35+
"Datadog-Python314"
36+
"Datadog-Python314-ARM"
3537
"Datadog-Ruby3-2"
3638
"Datadog-Ruby3-2-ARM"
3739
"Datadog-Ruby3-3"
@@ -64,6 +66,8 @@ JSON_LAYER_NAMES=(
6466
"python3.12-arm"
6567
"python3.13"
6668
"python3.13-arm"
69+
"python3.14"
70+
"python3.14-arm"
6771
"ruby3.2"
6872
"ruby3.2-arm"
6973
"ruby3.3"

src/layer.spec.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ describe("findHandlers", () => {
5454
"python311-function": { handler: "myfile.handler", runtime: "python3.11" },
5555
"python312-function": { handler: "myfile.handler", runtime: "python3.12" },
5656
"python313-function": { handler: "myfile.handler", runtime: "python3.13" },
57+
"python314-function": { handler: "myfile.handler", runtime: "python3.14" },
5758
"ruby32-function": { handler: "myfile.handler", runtime: "ruby3.2" },
5859
"ruby33-function": { handler: "myfile.handler", runtime: "ruby3.3" },
5960
"java8-function": { handler: "myfile.handler", runtime: "java8" },
@@ -147,6 +148,12 @@ describe("findHandlers", () => {
147148
type: RuntimeType.PYTHON,
148149
runtime: "python3.13",
149150
},
151+
{
152+
name: "python314-function",
153+
handler: { handler: "myfile.handler", runtime: "python3.14" },
154+
type: RuntimeType.PYTHON,
155+
runtime: "python3.14",
156+
},
150157
{
151158
name: "ruby32-function",
152159
handler: { handler: "myfile.handler", runtime: "ruby3.2" },

src/layer.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ export const runtimeLookup: { [key: string]: RuntimeType } = {
6767
"python3.11": RuntimeType.PYTHON,
6868
"python3.12": RuntimeType.PYTHON,
6969
"python3.13": RuntimeType.PYTHON,
70+
"python3.14": RuntimeType.PYTHON,
7071
dotnet6: RuntimeType.DOTNET,
7172
dotnet8: RuntimeType.DOTNET,
7273
java11: RuntimeType.JAVA,
@@ -90,6 +91,7 @@ export const ARM_RUNTIME_KEYS: { [key: string]: string } = {
9091
"python3.11": "python3.11-arm",
9192
"python3.12": "python3.12-arm",
9293
"python3.13": "python3.13-arm",
94+
"python3.14": "python3.14-arm",
9395
"ruby3.2": "ruby3.2-arm",
9496
"ruby3.3": "ruby3.3-arm",
9597
extension: "extension-arm",

0 commit comments

Comments
 (0)