From 0415b4d1d022115ce1ad19c56dc8616e8fbd07c7 Mon Sep 17 00:00:00 2001 From: Simon Kok Date: Mon, 8 Apr 2024 23:50:25 +0200 Subject: [PATCH] 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 --- requirements-dev.txt | 12 ++++++------ requirements.txt | 8 ++++---- samples/sample-rdk-rules/requirements.txt | 2 +- .../account_processing/requirements.txt | 2 +- .../determine_default_branch/requirements.txt | 2 +- .../lambda_codebase/initial_commit/requirements.txt | 4 ++-- .../adf-bootstrap/deployment/pipeline_management.yml | 2 +- .../adf-build/requirements-dev.txt | 4 ++-- .../bootstrap_repository/adf-build/requirements.txt | 12 ++++++------ .../adf-build/shared/helpers/requirements-dev.txt | 2 +- .../adf-build/shared/helpers/requirements.txt | 4 ++-- .../adf-build/shared/python/requirements.txt | 8 ++++---- .../adf-build/shared/requirements-dev.txt | 2 +- .../adf-build/shared/requirements.txt | 12 ++++++------ .../bootstrap_repository/requirements-dev.txt | 2 +- src/lambda_codebase/initial_commit/requirements.txt | 4 ++-- 16 files changed, 41 insertions(+), 41 deletions(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 0155bdfe2..6a9d257ee 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -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 diff --git a/requirements.txt b/requirements.txt index 16d7241c0..670914536 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/samples/sample-rdk-rules/requirements.txt b/samples/sample-rdk-rules/requirements.txt index 942841010..e34a0b267 100644 --- a/samples/sample-rdk-rules/requirements.txt +++ b/samples/sample-rdk-rules/requirements.txt @@ -1,3 +1,3 @@ s3==3.0.0 -boto3==1.34.17 +boto3==1.34.80 argparse==1.4.0 diff --git a/src/lambda_codebase/account_processing/requirements.txt b/src/lambda_codebase/account_processing/requirements.txt index 8ba2e527e..2542bd380 100644 --- a/src/lambda_codebase/account_processing/requirements.txt +++ b/src/lambda_codebase/account_processing/requirements.txt @@ -1,2 +1,2 @@ -aws-xray-sdk==2.12.1 +aws-xray-sdk==2.13.0 pyyaml~=6.0.1 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt index 790ada691..70f2daef7 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/determine_default_branch/requirements.txt @@ -1,2 +1,2 @@ -boto3==1.34.17 +boto3==1.34.80 cfn-custom-resource~=1.0.1 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/requirements.txt index 6cd53216a..aa81fab49 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/lambda_codebase/initial_commit/requirements.txt @@ -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 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml index 86769c7fd..074db0003 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-bootstrap/deployment/pipeline_management.yml @@ -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 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements-dev.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements-dev.txt index 3e91a948e..3bd6ffa05 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements-dev.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements-dev.txt @@ -1,3 +1,3 @@ mock~=5.1.0 -pylint~=3.0.3 -pytest~=7.4.3 +pylint~=3.1.0 +pytest~=8.1.1 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements.txt index 87f7a3a9e..484813f7a 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/requirements.txt @@ -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 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements-dev.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements-dev.txt index 5f12e99ac..bcf35acca 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements-dev.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements-dev.txt @@ -1 +1 @@ -pytest-env~=0.8.2 +pytest-env~=1.1.3 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements.txt index 6107c7292..e14102aec 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/helpers/requirements.txt @@ -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 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/requirements.txt index 951e35b23..a648a3e39 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/python/requirements.txt @@ -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" diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements-dev.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements-dev.txt index c88fd67fb..7b30764d5 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements-dev.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements-dev.txt @@ -1,2 +1,2 @@ mock~=5.1.0 -pytest~=7.4.0 +pytest~=8.1.1 diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements.txt index b7bd6f8f7..3afe43d35 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/adf-build/shared/requirements.txt @@ -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" diff --git a/src/lambda_codebase/initial_commit/bootstrap_repository/requirements-dev.txt b/src/lambda_codebase/initial_commit/bootstrap_repository/requirements-dev.txt index 0f2a5c5af..1dc5e24d3 100644 --- a/src/lambda_codebase/initial_commit/bootstrap_repository/requirements-dev.txt +++ b/src/lambda_codebase/initial_commit/bootstrap_repository/requirements-dev.txt @@ -1 +1 @@ -tox==4.11.4 +tox==4.14.2 diff --git a/src/lambda_codebase/initial_commit/requirements.txt b/src/lambda_codebase/initial_commit/requirements.txt index 6cd53216a..aa81fab49 100644 --- a/src/lambda_codebase/initial_commit/requirements.txt +++ b/src/lambda_codebase/initial_commit/requirements.txt @@ -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