Skip to content
This repository was archived by the owner on Apr 5, 2025. It is now read-only.

Commit 1990bec

Browse files
authored
feat: add Python 3.10 support (#48)
1 parent 4beaf55 commit 1990bec

File tree

6 files changed

+952
-881
lines changed

6 files changed

+952
-881
lines changed

.projen/deps.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
44
authorUrl: 'https://aws.amazon.com',
55
authorOrganization: true,
66
keywords: ['aws', 'cdk', 'powertools', 'python', 'layer', 'lambda', 'devax', 'typescript', 'nodejs'],
7-
cdkVersion: '2.70.0',
7+
cdkVersion: '2.75.0',
88
defaultReleaseBranch: 'main',
99
minNodeVersion: '16.19.1',
1010
majorVersion: 3,

package.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/lambda-powertools-layer.ts

+1
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ function getRuntimesFromRuntimeFamily(runtimeFamily: lambda.RuntimeFamily): lamb
117117
lambda.Runtime.PYTHON_3_7,
118118
lambda.Runtime.PYTHON_3_8,
119119
lambda.Runtime.PYTHON_3_9,
120+
lambda.Runtime.PYTHON_3_10,
120121
];
121122
case lambda.RuntimeFamily.NODEJS:
122123
return [

test/lambda-powertools-python-layer.test.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ describe('with no configuration the construct', () => {
2626
'python3.7',
2727
'python3.8',
2828
'python3.9',
29+
'python3.10',
2930
],
3031
});
3132
});
@@ -143,4 +144,4 @@ describe('construct build args for Dockerfile', () => {
143144
expect(args).toEqual(` @ ${version}`);
144145
});
145146

146-
});
147+
});

0 commit comments

Comments
 (0)