Skip to content

Commit

Permalink
feat: add Python 3.10 support (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
rubenfonseca authored Apr 18, 2023
1 parent 4beaf55 commit 1990bec
Show file tree
Hide file tree
Showing 6 changed files with 952 additions and 881 deletions.
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

0 comments on commit 1990bec

Please sign in to comment.