Skip to content

Commit 2c22183

Browse files
committed
feat: Add python3.14
1 parent af458c6 commit 2c22183

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

serverless/src/lambda/layer.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export const runtimeLookup: { [key: string]: RuntimeType } = {
6565
"python3.11": RuntimeType.PYTHON,
6666
"python3.12": RuntimeType.PYTHON,
6767
"python3.13": RuntimeType.PYTHON,
68+
"python3.14": RuntimeType.PYTHON,
6869
};
6970

7071
export const layerNameLookup: { [key in ArchitectureType]: { [key: string]: string } } = {
@@ -91,6 +92,7 @@ export const layerNameLookup: { [key in ArchitectureType]: { [key: string]: stri
9192
"python3.11": "Datadog-Python311",
9293
"python3.12": "Datadog-Python312",
9394
"python3.13": "Datadog-Python313",
95+
"python3.14": "Datadog-Python314",
9496
},
9597
[ArchitectureType.ARM64]: {
9698
dotnet6: "dd-trace-dotnet-ARM",
@@ -112,6 +114,7 @@ export const layerNameLookup: { [key in ArchitectureType]: { [key: string]: stri
112114
"python3.11": "Datadog-Python311-ARM",
113115
"python3.12": "Datadog-Python312-ARM",
114116
"python3.13": "Datadog-Python313-ARM",
117+
"python3.14": "Datadog-Python314-ARM",
115118
},
116119
};
117120

serverless/test/lambda/layer.spec.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe("findLambdas", () => {
7474
Python311Function: mockFunctionResource("python3.11", ["x86_64"]),
7575
Python312Function: mockFunctionResource("python3.12", ["x86_64"]),
7676
Python313Function: mockFunctionResource("python3.13", ["x86_64"]),
77+
Python314Function: mockFunctionResource("python3.14", ["x86_64"]),
7778
GoFunction: mockFunctionResource("go1.10", ["x86_64"]),
7879
RefFunction: mockFunctionResource({ Ref: "ValueRef" }, ["arm64"]),
7980
};
@@ -102,6 +103,7 @@ describe("findLambdas", () => {
102103
mockLambdaFunction("Python311Function", "python3.11", RuntimeType.PYTHON, "x86_64", ArchitectureType.x86_64),
103104
mockLambdaFunction("Python312Function", "python3.12", RuntimeType.PYTHON, "x86_64", ArchitectureType.x86_64),
104105
mockLambdaFunction("Python313Function", "python3.13", RuntimeType.PYTHON, "x86_64", ArchitectureType.x86_64),
106+
mockLambdaFunction("Python314Function", "python3.14", RuntimeType.PYTHON, "x86_64", ArchitectureType.x86_64),
105107
mockLambdaFunction("GoFunction", "go1.10", RuntimeType.UNSUPPORTED, "x86_64", ArchitectureType.x86_64),
106108
mockLambdaFunction("RefFunction", "nodejs14.x", RuntimeType.NODE, "arm64", ArchitectureType.ARM64, {
107109
Ref: "ValueRef",

0 commit comments

Comments
 (0)