Skip to content

Commit

Permalink
Update CDK v2.136, SAM CLI 1.114, and others (#715)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
sbkok committed Apr 9, 2024
1 parent 5d6e5ce commit 3517078
Show file tree
Hide file tree
Showing 17 changed files with 42 additions and 43 deletions.
12 changes: 6 additions & 6 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
cfn-lint==0.83.8
cfn-lint~=0.86.2
isort==5.13.2
mock==5.1.0
pylint==3.0.3
pytest~=7.4.4
pytest-cov==4.1.0
tox==4.11.4
yamllint==1.33.0
pylint==3.1.0
pytest~=8.1.1
pytest-cov==5.0.0
tox==4.14.2
yamllint==1.35.1
yq==3.2.3
8 changes: 4 additions & 4 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
astroid==3.0.2
aws-sam-cli==1.107.0
boto3==1.34.17
botocore==1.34.17
astroid==3.1.0
aws-sam-cli==1.114.0
boto3==1.34.80
botocore==1.34.80
pyyaml~=6.0.1
schema==0.7.5
2 changes: 1 addition & 1 deletion samples/sample-rdk-rules/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
s3==3.0.0
boto3==1.34.17
boto3==1.34.80
argparse==1.4.0
2 changes: 1 addition & 1 deletion src/lambda_codebase/account_processing/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
aws-xray-sdk==2.12.1
aws-xray-sdk==2.13.0
pyyaml~=6.0.1
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
boto3==1.34.17
boto3==1.34.80
cfn-custom-resource~=1.0.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Jinja2==3.1.3
boto3==1.34.17
boto3==1.34.80
cfn-custom-resource~=1.0.1
markupsafe==2.1.3
markupsafe==2.1.5
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ Resources:
python: 3.12
nodejs: 20
commands:
- npm install aws-cdk@2.119.0 -g -y --quiet --no-progress
- npm install aws-cdk@2.136.0 -g -y --quiet --no-progress
- aws s3 cp s3://$SHARED_MODULES_BUCKET/adf-build/ ./adf-build/ --recursive --quiet
- pip install -r adf-build/requirements.txt -q -t ./adf-build
- chmod 755 adf-build/cdk/execute_pipeline_stacks.py adf-build/cdk/generate_pipeline_stacks.py
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
mock~=5.1.0
pylint~=3.0.3
pytest~=7.4.3
pylint~=3.1.0
pytest~=8.1.1
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Install libs here that you might want in AWS CodeBuild (On the management
# account)
astroid==3.0.2
aws-sam-cli==1.107.0
boto3==1.34.17
botocore==1.34.17
pip~=23.3
astroid==3.1.0
aws-sam-cli==1.114.0
boto3==1.34.80
botocore==1.34.80
pip~=24.0
pyyaml~=6.0.1
six~=1.16.0
tenacity==8.2.3
urllib3~=2.0.7
urllib3~=2.2.1
Original file line number Diff line number Diff line change
@@ -1 +1 @@
pytest-env~=0.8.2
pytest-env~=1.1.3
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
boto3==1.34.17
botocore==1.34.17
boto3==1.34.80
botocore==1.34.80
docopt~=0.6.2
schema==0.7.5
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,4 @@ def paginator(method, **kwargs):
client = method.__self__
iterator = client.get_paginator(method.__name__)
for page in iterator.paginate(**kwargs).result_key_iters():
for result in page:
yield result
yield from page
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Install libs here that you might want in the ADF Shared Python Lambda Layer
boto3==1.34.17
botocore==1.34.17
boto3==1.34.80
botocore==1.34.80
pyyaml~=6.0.1
schema~=0.7.5
tenacity==8.2.3
typing-extensions~=4.9.0
typing-extensions~=4.11.0
urllib3~=1.26.18 ; python_version < "3.10"
urllib3~=2.0.7 ; python_version >= "3.10"
urllib3~=2.2.1 ; python_version >= "3.10"
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mock~=5.1.0
pytest~=7.4.0
pytest~=8.1.1
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# Install libs here that you might want in AWS CodeBuild
aws-cdk-lib~=2.119.0
aws-cdk-lib~=2.136.0
constructs>=10.0.0,<11.0.0
aws-sam-cli==1.107.0
boto3==1.34.17
botocore==1.34.17
aws-sam-cli==1.114.0
boto3==1.34.80
botocore==1.34.80
pyyaml~=6.0.1
schema~=0.7.5
tenacity==8.2.3
typing-extensions~=4.9.0
typing-extensions~=4.11.0
urllib3~=1.26.18 ; python_version < "3.10"
urllib3~=2.0.7 ; python_version >= "3.10"
urllib3~=2.2.1 ; python_version >= "3.10"
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tox==4.11.4
tox==4.14.2
4 changes: 2 additions & 2 deletions src/lambda_codebase/initial_commit/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Jinja2==3.1.3
boto3==1.34.17
boto3==1.34.80
cfn-custom-resource~=1.0.1
markupsafe==2.1.3
markupsafe==2.1.5

0 comments on commit 3517078

Please sign in to comment.