Skip to content

Commit 3517078

Browse files
authored
Update CDK v2.136, SAM CLI 1.114, and others (#715)
* Update CDK v2.136, SAM CLI 1.114, and others **Why?** To catch-up with the latest enhancements made in CDK and SAM CLI. **What?** Updated: * CDK to v2.136.0 * SAM CLI to v1.114.0 * And other packages to the most recent version that is compatible * Use yield-from as suggested by pylint
1 parent 5d6e5ce commit 3517078

File tree

17 files changed

+42
-43
lines changed

17 files changed

+42
-43
lines changed

requirements-dev.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
cfn-lint==0.83.8
1+
cfn-lint~=0.86.2
22
isort==5.13.2
33
mock==5.1.0
4-
pylint==3.0.3
5-
pytest~=7.4.4
6-
pytest-cov==4.1.0
7-
tox==4.11.4
8-
yamllint==1.33.0
4+
pylint==3.1.0
5+
pytest~=8.1.1
6+
pytest-cov==5.0.0
7+
tox==4.14.2
8+
yamllint==1.35.1
99
yq==3.2.3

requirements.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
astroid==3.0.2
2-
aws-sam-cli==1.107.0
3-
boto3==1.34.17
4-
botocore==1.34.17
1+
astroid==3.1.0
2+
aws-sam-cli==1.114.0
3+
boto3==1.34.80
4+
botocore==1.34.80
55
pyyaml~=6.0.1
66
schema==0.7.5
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
s3==3.0.0
2-
boto3==1.34.17
2+
boto3==1.34.80
33
argparse==1.4.0
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
aws-xray-sdk==2.12.1
1+
aws-xray-sdk==2.13.0
22
pyyaml~=6.0.1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
boto3==1.34.17
1+
boto3==1.34.80
22
cfn-custom-resource~=1.0.1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Jinja2==3.1.3
2-
boto3==1.34.17
2+
boto3==1.34.80
33
cfn-custom-resource~=1.0.1
4-
markupsafe==2.1.3
4+
markupsafe==2.1.5

src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,7 @@ Resources:
689689
python: 3.12
690690
nodejs: 20
691691
commands:
692-
- npm install aws-cdk@2.119.0 -g -y --quiet --no-progress
692+
- npm install aws-cdk@2.136.0 -g -y --quiet --no-progress
693693
- aws s3 cp s3://$SHARED_MODULES_BUCKET/adf-build/ ./adf-build/ --recursive --quiet
694694
- pip install -r adf-build/requirements.txt -q -t ./adf-build
695695
- chmod 755 adf-build/cdk/execute_pipeline_stacks.py adf-build/cdk/generate_pipeline_stacks.py
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
mock~=5.1.0
2-
pylint~=3.0.3
3-
pytest~=7.4.3
2+
pylint~=3.1.0
3+
pytest~=8.1.1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Install libs here that you might want in AWS CodeBuild (On the management
22
# account)
3-
astroid==3.0.2
4-
aws-sam-cli==1.107.0
5-
boto3==1.34.17
6-
botocore==1.34.17
7-
pip~=23.3
3+
astroid==3.1.0
4+
aws-sam-cli==1.114.0
5+
boto3==1.34.80
6+
botocore==1.34.80
7+
pip~=24.0
88
pyyaml~=6.0.1
99
six~=1.16.0
1010
tenacity==8.2.3
11-
urllib3~=2.0.7
11+
urllib3~=2.2.1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pytest-env~=0.8.2
1+
pytest-env~=1.1.3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
boto3==1.34.17
2-
botocore==1.34.17
1+
boto3==1.34.80
2+
botocore==1.34.80
33
docopt~=0.6.2
44
schema==0.7.5

src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/paginator.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@ def paginator(method, **kwargs):
1111
client = method.__self__
1212
iterator = client.get_paginator(method.__name__)
1313
for page in iterator.paginate(**kwargs).result_key_iters():
14-
for result in page:
15-
yield result
14+
yield from page
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Install libs here that you might want in the ADF Shared Python Lambda Layer
2-
boto3==1.34.17
3-
botocore==1.34.17
2+
boto3==1.34.80
3+
botocore==1.34.80
44
pyyaml~=6.0.1
55
schema~=0.7.5
66
tenacity==8.2.3
7-
typing-extensions~=4.9.0
7+
typing-extensions~=4.11.0
88
urllib3~=1.26.18 ; python_version < "3.10"
9-
urllib3~=2.0.7 ; python_version >= "3.10"
9+
urllib3~=2.2.1 ; python_version >= "3.10"
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
mock~=5.1.0
2-
pytest~=7.4.0
2+
pytest~=8.1.1
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Install libs here that you might want in AWS CodeBuild
2-
aws-cdk-lib~=2.119.0
2+
aws-cdk-lib~=2.136.0
33
constructs>=10.0.0,<11.0.0
4-
aws-sam-cli==1.107.0
5-
boto3==1.34.17
6-
botocore==1.34.17
4+
aws-sam-cli==1.114.0
5+
boto3==1.34.80
6+
botocore==1.34.80
77
pyyaml~=6.0.1
88
schema~=0.7.5
99
tenacity==8.2.3
10-
typing-extensions~=4.9.0
10+
typing-extensions~=4.11.0
1111
urllib3~=1.26.18 ; python_version < "3.10"
12-
urllib3~=2.0.7 ; python_version >= "3.10"
12+
urllib3~=2.2.1 ; python_version >= "3.10"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tox==4.11.4
1+
tox==4.14.2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
Jinja2==3.1.3
2-
boto3==1.34.17
2+
boto3==1.34.80
33
cfn-custom-resource~=1.0.1
4-
markupsafe==2.1.3
4+
markupsafe==2.1.5

0 commit comments

Comments
 (0)