Skip to content

Commit 547ee10

Browse files
committed
Update to Python 3.12
1 parent 5450066 commit 547ee10

5 files changed

+18
-18
lines changed

.pre-commit-config.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
repos:
22
- repo: https://github.com/aws-cloudformation/cfn-lint
3-
rev: v0.79.6
3+
rev: v0.83.6
44
hooks:
55
- id: cfn-lint-rc
66
- repo: https://github.com/psf/black
7-
rev: 23.7.0
7+
rev: 23.12.0
88
hooks:
99
- id: black

dependencies/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
aws-lambda-powertools[tracer,validation,aws-sdk]==2.26.1
1+
aws-lambda-powertools[tracer,validation,aws-sdk]==2.30.1

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.black]
22
line-length = 120
3-
target-version = ['py311']
3+
target-version = ['py312']
44
include = '\.pyi?$'
55
extend-exclude = '''
66
(

requirements-dev.txt

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
black==23.11.0
2-
wheel==0.41.3
3-
pre-commit==3.5.0
4-
mypy-boto3-ec2==1.29.0
5-
mypy-boto3-ecs==1.29.0
6-
mypy-boto3-iam==1.29.0
7-
mypy-boto3-identitystore==1.29.0
8-
mypy-boto3-organizations==1.29.0
9-
mypy-boto3-sts==1.29.0
10-
mypy-boto3-servicecatalog==1.29.0
11-
mypy-boto3-sso-admin==1.29.0
1+
black==23.12.0
2+
wheel==0.42.0
3+
pre-commit==3.6.0
4+
mypy-boto3-ec2==1.34.0
5+
mypy-boto3-ecs==1.34.0
6+
mypy-boto3-iam==1.34.0
7+
mypy-boto3-identitystore==1.34.0
8+
mypy-boto3-organizations==1.34.0
9+
mypy-boto3-sts==1.34.0
10+
mypy-boto3-servicecatalog==1.34.0
11+
mypy-boto3-sso-admin==1.34.0

template.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ Globals:
4343
Layers:
4444
- !Ref DependencyLayer
4545
MemorySize: 128 # megabytes
46-
Runtime: python3.11
46+
Runtime: python3.12
4747
Tags:
4848
GITHUB_ORG: !Ref GitHubOrg
4949
GITHUB_REPO: !Ref GitHubRepo
@@ -64,14 +64,14 @@ Resources:
6464
DependencyLayer:
6565
Type: "AWS::Serverless::LayerVersion"
6666
Metadata:
67-
BuildMethod: python3.11
67+
BuildMethod: python3.12
6868
BuildArchitecture: arm64
6969
Properties:
7070
LicenseInfo: MIT-0
7171
CompatibleArchitectures:
7272
- arm64
7373
CompatibleRuntimes:
74-
- python3.11
74+
- python3.12
7575
ContentUri: dependencies
7676
Description: DO NOT DELETE - AccountSetup - Latest versions of common Python packages
7777
RetentionPolicy: Delete

0 commit comments

Comments
 (0)