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

feat: add Python 3.10 support #48

Merged
merged 2 commits into from
Apr 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .projen/deps.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
authorUrl: 'https://aws.amazon.com',
authorOrganization: true,
keywords: ['aws', 'cdk', 'powertools', 'python', 'layer', 'lambda', 'devax', 'typescript', 'nodejs'],
cdkVersion: '2.70.0',
cdkVersion: '2.75.0',
defaultReleaseBranch: 'main',
minNodeVersion: '16.19.1',
majorVersion: 3,
Expand Down
4 changes: 2 additions & 2 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/lambda-powertools-layer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ function getRuntimesFromRuntimeFamily(runtimeFamily: lambda.RuntimeFamily): lamb
lambda.Runtime.PYTHON_3_7,
lambda.Runtime.PYTHON_3_8,
lambda.Runtime.PYTHON_3_9,
lambda.Runtime.PYTHON_3_10,
];
case lambda.RuntimeFamily.NODEJS:
return [
Expand Down
3 changes: 2 additions & 1 deletion test/lambda-powertools-python-layer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ describe('with no configuration the construct', () => {
'python3.7',
'python3.8',
'python3.9',
'python3.10',
],
});
});
Expand Down Expand Up @@ -143,4 +144,4 @@ describe('construct build args for Dockerfile', () => {
expect(args).toEqual(` @ ${version}`);
});

});
});
Loading