Skip to content

Commit

Permalink
Merge branch 'develop' into dependabot/pip/requirements/develop/netwo…
Browse files Browse the repository at this point in the history
…rkx-3.2.1
  • Loading branch information
hnnasit authored Nov 17, 2023
2 parents 2a18f4e + 35b49ad commit 0d4e32e
Show file tree
Hide file tree
Showing 247 changed files with 2,073 additions and 894 deletions.
31 changes: 30 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ jobs:
3.9
3.10
3.11
3.12
${{ matrix.python }}
- uses: actions/setup-go@v4
with:
Expand All @@ -157,7 +158,11 @@ jobs:
- uses: actions/setup-java@v3
with:
distribution: 'corretto'
java-version: '17'
java-version: |
8
11
17
21
# Install and configure Rust & Cargo Lambda
- name: Install and configure Rust & Cargo Lambda
if: ${{ matrix.os == 'ubuntu-latest' }}
Expand All @@ -172,6 +177,19 @@ jobs:
pip install cargo-lambda==$CARGO_LAMBDA_VERSION
echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Upgrade pip in Python3.12 (Linux)
run: |
python3.12 -m pip install pip --upgrade
python3.12 -m pip install setuptools --upgrade
if: ${{ matrix.os == 'ubuntu-latest' }}

- name: Upgrade pip in Python3.12 (Windows)
run: |
py -3.12 -m pip install pip --upgrade
py -3.12 -m pip install setuptools --upgrade
if: ${{ matrix.os == 'windows-latest' }}


- name: Init samdev
run: make init
- name: Run integration tests for ${{ matrix.tests_config }}
Expand Down Expand Up @@ -231,6 +249,7 @@ jobs:
3.9
3.10
3.11
3.12
- name: Stop Docker Linux
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
Expand All @@ -241,6 +260,16 @@ jobs:
if: ${{ matrix.os == 'windows-latest' }}
shell: pwsh
run: stop-service docker
- name: Upgrade pip in Python3.12 (Linux)
run: |
python3.12 -m pip install pip --upgrade
python3.12 -m pip install setuptools --upgrade
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Upgrade pip in Python3.12 (Windows)
run: |
py -3.12 -m pip install pip --upgrade
py -3.12 -m pip install setuptools --upgrade
if: ${{ matrix.os == 'windows-latest' }}
- name: Check Docker not Running
run: docker info
id: run-docker-info
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/need-attention-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
apply-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
# the login of our bot called 'sam-cli-bot'
if: github.event.sender.login != 'aws-sam-cli-stale-bot'
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
- uses: actions/github-script@v7
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
Expand Down
4 changes: 3 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ filterwarnings =
ignore::DeprecationWarning:docker
ignore::DeprecationWarning:urllib3.poolmanager
default::ResourceWarning
; Ignore below warning to not fail in Python3.12. Remove once dateutil updates itself or botocore use another way to generate EPOCH
ignore::DeprecationWarning:dateutil.tz.tz:
; The following deprecation warnings are treated as failures unless we explicitly tell pytest not to
; Remove once we no longer support python3.7
ignore::boto3.exceptions.PythonDeprecationWarning
Expand All @@ -19,4 +21,4 @@ markers =
java
python
provided
dotnet
dotnet
6 changes: 3 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jmespath~=1.0.1
ruamel_yaml~=0.18.5
PyYAML~=6.0,>=6.0.1
cookiecutter~=2.4.0
aws-sam-translator==1.79.0
aws-sam-translator==1.80.0
#docker minor version updates can include breaking changes. Auto update micro version only.
docker~=6.1.0
dateparser~=1.1
requests~=2.31.0
aws_lambda_builders==1.41.0
aws_lambda_builders==1.42.0
tomlkit==0.12.2
watchdog==3.0.0
rich~=13.6.0
Expand All @@ -31,4 +31,4 @@ tzlocal==5.2
cfn-lint~=0.83.1

# Type checking boto3 objects
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray,sqs,kinesis]==1.28.80
boto3-stubs[apigateway,cloudformation,ecr,iam,lambda,s3,schemas,secretsmanager,signer,stepfunctions,sts,xray,sqs,kinesis]==1.29.1
2 changes: 1 addition & 1 deletion requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ types-urllib3==1.26.25.14
# Test requirements
pytest~=7.4.3
parameterized==0.9.0
pytest-xdist==3.3.1
pytest-xdist==3.4.0
pytest-forked==1.6.0
pytest-timeout==2.2.0
pytest-rerunfailures==12.0
Expand Down
2 changes: 1 addition & 1 deletion requirements/pre-dev.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruff==0.1.4
ruff==0.1.5
126 changes: 63 additions & 63 deletions requirements/reproducible-linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ attrs==23.1.0 \
# jsonschema
# referencing
# sarif-om
aws-lambda-builders==1.41.0 \
--hash=sha256:b26280609269696d4c7ebe6ea208de5d02a8e4f14711ceac265510e28de65258 \
--hash=sha256:d48d0d9b704319cdb6bb19918a72bf6c06fd3a7012848f6bcc4b906d5686db17
aws-lambda-builders==1.42.0 \
--hash=sha256:c0d3c4e1d9d663ccc9d13470487958fd4cc0918610786a454759b8d383a10043 \
--hash=sha256:f2d6dc0ca6cb454d4419b8df1e2a5b4dc4973484a16b809bdb8e00620f95e6af
# via aws-sam-cli (setup.py)
aws-sam-translator==1.79.0 \
--hash=sha256:6f0c6bbcebcc98c4f98dc238352a06b0befe7fb72535cca75712fffff4873875 \
--hash=sha256:990f3043d00b6fd801b38ad780ecd058c315b7581b2e43fc013c9b6253f876e8
aws-sam-translator==1.80.0 \
--hash=sha256:36afb8b802af0180a35efa68a8ab19d5d929d0a6a649a0101e8a4f8e1f05681f \
--hash=sha256:f00215f9314cef1bbbdbd7520e3b0c75a76b88bdc3f0dedb6a2c69a12e904b12
# via
# aws-sam-cli (setup.py)
# cfn-lint
Expand All @@ -38,27 +38,27 @@ blinker==1.7.0 \
--hash=sha256:c3f865d4d54db7abc53758a01601cf343fe55b84c1de4e3fa910e420b438d5b9 \
--hash=sha256:e6820ff6fa4e4d1d8e2747c2283749c3f547e4fee112b98555cdcdae32996182
# via flask
boto3==1.28.80 \
--hash=sha256:2f43e032ab804a3c39996d524003d2b906e5d86856a32da3427e36912a22d2b7 \
--hash=sha256:c48c6e04e43f894881b883a28fd032f16805f6cb2771b85f0c97f3fe34db0a41
boto3==1.29.1 \
--hash=sha256:192695305fa65012d21f78ee852b91cb56dd571e84d51fb71f756302bf19d23f \
--hash=sha256:20285ebf4e98b2905a88aeb162b4f77ff908b2e3e31038b3223e593789290aa3
# via
# aws-sam-cli (setup.py)
# aws-sam-translator
boto3-stubs[apigateway,cloudformation,ecr,iam,kinesis,lambda,s3,schemas,secretsmanager,signer,sqs,stepfunctions,sts,xray]==1.28.80 \
--hash=sha256:544bcf2e1c32f34ca445948d7594af37325704476765c01bf5934cedc8efd8bc \
--hash=sha256:b9a995abb8dd698865d48a12fdd64385b658f5014f22c329ac5de15e6165c178
boto3-stubs[apigateway,cloudformation,ecr,iam,kinesis,lambda,s3,schemas,secretsmanager,signer,sqs,stepfunctions,sts,xray]==1.29.1 \
--hash=sha256:3a923b7895f06b079f48cf316d69c3b61e02ca67fdc73c07f864ab09c448723d \
--hash=sha256:6dfe6af913b1a4a43bc8d62c98bf98ec2f1ad3474fabeacc7d9a521c5bd689da
# via
# aws-sam-cli (setup.py)
# boto3-stubs
botocore==1.31.80 \
--hash=sha256:1c693c0f8b2553fcbe0df223241191e6f9f60b4245d65c1822c08f659274fef2 \
--hash=sha256:d43fe303530c12efca9be4ec3a9104e8a669f11d1ba9feb18f0284d751a9672c
botocore==1.32.1 \
--hash=sha256:1d9c0ff3eb7828a8bd8c5c7f12cd9d8c05c6fe4c616ef963fdaab538a0da3809 \
--hash=sha256:fcf3cc2913afba8e5f7ebcc15e8f6bfae844ab64bf983bf5a6fe3bb54cce239d
# via
# boto3
# s3transfer
botocore-stubs==1.31.80 \
--hash=sha256:72472310a21171425f738fe13c26fc2fa0a890bbaf8bb89f82d464e9acb9dd2c \
--hash=sha256:873349ae1d5dc306e08be41eb890d907074b4369bbff9a65e1247c3752923429
botocore-stubs==1.32.1 \
--hash=sha256:da440c4527d01a9ca04ec76f04f8edad5ff8ef8c5bfaec1038e48b7dc232e6a0 \
--hash=sha256:f88c7ff2339d497819042274688a993f94ae069b47c87aff76e99d005f2f0b35
# via boto3-stubs
certifi==2023.7.22 \
--hash=sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082 \
Expand Down Expand Up @@ -388,61 +388,61 @@ mpmath==1.3.0 \
--hash=sha256:7a28eb2a9774d00c7bc92411c19a89209d5da7c4c9a9e227be8330a23a25b91f \
--hash=sha256:a0b2b9fe80bbcd81a6647ff13108738cfb482d481d826cc0e02f5b35e5c88d2c
# via sympy
mypy-boto3-apigateway==1.28.36 \
--hash=sha256:aa2c710c7fcc505f4c0a0c851bf872c1426b948d23314d3bcf27ee09e46c9ba7 \
--hash=sha256:e460e5b40b28fbe292f842993e7bf3ad514d0073774b30f1c5e137de6abac681
mypy-boto3-apigateway==1.29.0 \
--hash=sha256:2f905563c4b96c2e22e6cbaa2f85cf732d405ac4d60b6c6c70675bea717f895a \
--hash=sha256:e43a402334f5d2b5e91de23f7d496b72730e7445302147cc4ca6f2bd1214650f
# via boto3-stubs
mypy-boto3-cloudformation==1.28.64 \
--hash=sha256:b353d52a5607c54d2916f4bde26e9be90920635beb9ffb9255cd862dca3b56bf \
--hash=sha256:f5c9012d7fbf9c39bb314ac192e14115dbca9495e364479a16e1fa21cac23d78
mypy-boto3-cloudformation==1.29.0 \
--hash=sha256:91b7202a439d31f7e6645f34ea810f1900f23214900fdf6de210a0704c14da70 \
--hash=sha256:b719c35be8b4d5606e9b4fd66d4d0c0e3d5eaf9508a72099053c8e0640b652af
# via boto3-stubs
mypy-boto3-ecr==1.28.45 \
--hash=sha256:3584a19a018bacd7b6e8147bc9ef6932967815c0918c6cf3929ff55f1c9be601 \
--hash=sha256:d603236d984182dcf7f196517753679fbe6a3fd05feb4c3c1d2f325b065384dc
mypy-boto3-ecr==1.29.0 \
--hash=sha256:513c13f6a8ce6ac6cbc6127e533cd5780a8b98dfc9823576b6e0c633328618c0 \
--hash=sha256:cecdfa399f1970deab9b3dc2e57228d976b87b62fc7f81424319a85d41d21835
# via boto3-stubs
mypy-boto3-iam==1.28.79 \
--hash=sha256:9dca1b7a3052b512dac7d4c9a58b713d5c53e216dd2c396eb64c75b083ed0727 \
--hash=sha256:b5f8bce0d34966c917445e002c51c7e0cde553bfa62f44b131ceb52d82fec45e
mypy-boto3-iam==1.29.0 \
--hash=sha256:26b617b134ed0a1011b0ccc7e94792899591f19ae2f0e9305789a0d1c7f5a427 \
--hash=sha256:629495854a1608e137a0ef01f0f30247082148b554533ccfaba4e13f33bb7ebb
# via boto3-stubs
mypy-boto3-kinesis==1.28.36 \
--hash=sha256:43713c0ce8f63b2cbd181132e71371031bd90eac250aef7357b239d4da6b8504 \
--hash=sha256:ab37194c4f69fead34f1ba12dfa520ad6c1aed9236316df453e9f3c873f2420a
mypy-boto3-kinesis==1.29.0 \
--hash=sha256:3e91c91b984399f8b1610b76dce94f9c3dc7ef6020bebb129ff51af23a83447a \
--hash=sha256:45fd67bc4147a19ca6511f992241844ff88c28c9e1d66f9a99d77bd8ac29ee31
# via boto3-stubs
mypy-boto3-lambda==1.28.63 \
--hash=sha256:7cbbee5560f347548a8f43324b31b2abfa1f56ec7380f20dadb837533fc0552a \
--hash=sha256:bcfc747594704664d41fb904f59e4173c718d1bffc92555fc9ca57f8c4b1b970
mypy-boto3-lambda==1.29.1 \
--hash=sha256:49fe2a5f0de20cea149d61baf7d330981f2cff89a850f135593fc446ca1a7f4d \
--hash=sha256:a5e96281446a60628ee49626b18cc5610d4cc274de0a098f85596fb086509994
# via boto3-stubs
mypy-boto3-s3==1.28.55 \
--hash=sha256:11a3db97398973d4ae28489b94c010778a0a5c65f99e00268456c3fea67eca79 \
--hash=sha256:b008809f448e74075012d4fc54b0176de0b4f49bc38e39de30ca0e764eb75056
mypy-boto3-s3==1.29.0 \
--hash=sha256:3c8473974e304aa512abbf6a47454d9834674e89db414545e2f0cb4fcdd227c9 \
--hash=sha256:f5040429b0c3814c6ec9c1a59256976186acb7376fd3b56c4e7e5d03272bb1a8
# via boto3-stubs
mypy-boto3-schemas==1.28.36 \
--hash=sha256:82af1ad64d0c1275c576607920f13dcc7605d6b7e8483dd58aced8395c824d5f \
--hash=sha256:ec2648ae282cbd5efd4cd0e866d2e0fee0b73bfc4ce8273484e4194582e688d4
mypy-boto3-schemas==1.29.0 \
--hash=sha256:2332f348ffcb7544e76a84bba0b82cd3d47c2dff3e000176a3818aac6d9c8908 \
--hash=sha256:590fe23c13a2fa129f25e8b37285061d6264f4aed53ac26fcbcf1aace29775b4
# via boto3-stubs
mypy-boto3-secretsmanager==1.28.67 \
--hash=sha256:37d34d2e038164bda8beb605bcc7133ef49f058e08102f5699f8d20790ead3f0 \
--hash=sha256:d2424597eb357ef73f5cc798aa8a130fc9ae78f5eadabf206c183085d6bb57f5
mypy-boto3-secretsmanager==1.29.0 \
--hash=sha256:2cd901588b54425825884a515bd48937d77f3aaa67acc1a0dfaae8d00a015eca \
--hash=sha256:f0bd7f33d7b0025258c9a45c229970735f9f1d05c3eef0077d285c34eebe230e
# via boto3-stubs
mypy-boto3-signer==1.28.36 \
--hash=sha256:152fc0f05eda925e3ac10aa10bff2d2a9f85431e883e8103fc8463d888f347e0 \
--hash=sha256:e008e2f4bf8023aea207d35a8ae57de9879fba8109d2cf813ddb0ebbf5300e93
mypy-boto3-signer==1.29.0 \
--hash=sha256:3446b001ecad6c63e6e5e28d81a4e982f704b79b8c8a9272d244bae267361e74 \
--hash=sha256:fee1b7eda26be4b59fb1d4d880f42f7d35a19d1685c46dbf19faaab65ac168f0
# via boto3-stubs
mypy-boto3-sqs==1.28.36 \
--hash=sha256:8457aa9f2a6da44e8543e547597773f67a04e517f6a398989117cf1fa3f70d6e \
--hash=sha256:d9c159e020f0ef225a6d5850a3673e8b236327243ba5ffe0d13762ae4fdc0e21
mypy-boto3-sqs==1.29.0 \
--hash=sha256:0835256e3aabd27b2acf613c1b82a22b9de18412a0b07bd04d6d214c3f063906 \
--hash=sha256:db88751bd7765f51c2b1f9061545ddb06639d301c3d981d3b3fa4b367f0ca8ea
# via boto3-stubs
mypy-boto3-stepfunctions==1.28.36 \
--hash=sha256:3b88c34db51ea3158d7944d3d6f5bd67b823d21d9b09e79a7ce37d36c4a69cf2 \
--hash=sha256:8c794e98abc5ca23ef13e351f46bb849de634baca6f35286e31e58dede40b687
mypy-boto3-stepfunctions==1.29.0 \
--hash=sha256:1f53d60178cf95df698835502266977911460fde7cebb495b05642f5aea3cbb4 \
--hash=sha256:3c87706c229b9e57298362dda4b3b920ac5fafcf304ce565f76179abbb222275
# via boto3-stubs
mypy-boto3-sts==1.28.58 \
--hash=sha256:9bb44163aed4efa5d1f82084ea18c0cd5e6622dca62798c487e9604d9bb45c77 \
--hash=sha256:beffec705f1f0b449da3c1f52ac7658627bb289aecec1a4408266479c46e053b
mypy-boto3-sts==1.29.0 \
--hash=sha256:4750a19470241f2bc260e244f90818e79f62fe0da480eae816d7847004613852 \
--hash=sha256:f5b847e5ae3919ec9f9d1ca1f199a260dd8dd21dd359391a6690d551d507c992
# via boto3-stubs
mypy-boto3-xray==1.28.64 \
--hash=sha256:0657a2317de5e296fe4e0c784a3594c4c8bd8d63f801594650472e773a9619de \
--hash=sha256:5c7135fa5aa3e4eabd5689ac266ed2fb129da9da9f641d47d4d982e1d526ed61
mypy-boto3-xray==1.29.0 \
--hash=sha256:ddc37e681d73c56f88268eff13d98572888ab4ea10430af7d181b39f3aca40f7 \
--hash=sha256:ec68909f30158e155631d2934c7936daa0c1d80b083cdbe1719c349d0d4ff342
# via boto3-stubs
networkx==3.2.1 \
--hash=sha256:9f1bb5cf3409bf324e0a722c20bdb4c20ee39bf1c30ce8ae499c8502b0b5e0c6 \
Expand All @@ -452,9 +452,9 @@ packaging==23.2 \
--hash=sha256:048fb0e9405036518eaaf48a55953c750c11e1a1b68e0dd1a9d62ed0c092cfc5 \
--hash=sha256:8c491190033a9af7e1d931d0b5dacc2ef47509b34dd0de67ed209b5203fc88c7
# via docker
pbr==5.11.1 \
--hash=sha256:567f09558bae2b3ab53cb3c1e2e33e726ff3338e7bae3db5dc954b3a44eef12b \
--hash=sha256:aefc51675b0b533d56bb5fd1c8c6c0522fe31896679882e1c4c63d5e4a0fccb3
pbr==6.0.0 \
--hash=sha256:4a7317d5e3b17a3dccb6a8cfe67dab65b20551404c52c8ed41279fa4f0cb4cda \
--hash=sha256:d1377122a5a00e2f940ee482999518efe16d745d423a670c27773dfbc3c9a7d9
# via
# jschema-to-python
# sarif-om
Expand Down
Loading

0 comments on commit 0d4e32e

Please sign in to comment.