Skip to content

Commit

Permalink
⬆️Maintenance: upgraded aioboto3 (#6009)
Browse files Browse the repository at this point in the history
  • Loading branch information
sanderegg authored Jun 28, 2024
1 parent 1a97db7 commit 2607824
Show file tree
Hide file tree
Showing 20 changed files with 425 additions and 109 deletions.
12 changes: 7 additions & 5 deletions packages/aws-library/requirements/_base.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
aio-pika==9.4.1
# via -r requirements/../../../packages/service-library/requirements/_base.in
aioboto3==12.4.0
aioboto3==13.1.0
# via -r requirements/_base.in
aiobotocore==2.12.3
aiobotocore==2.13.1
# via aioboto3
aiocache==0.12.2
# via -r requirements/_base.in
Expand All @@ -11,7 +11,9 @@ aiodebug==2.3.0
aiodocker==0.21.0
# via -r requirements/../../../packages/service-library/requirements/_base.in
aiofiles==23.2.1
# via -r requirements/../../../packages/service-library/requirements/_base.in
# via
# -r requirements/../../../packages/service-library/requirements/_base.in
# aioboto3
aiohttp==3.9.5
# via
# -c requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
Expand Down Expand Up @@ -46,9 +48,9 @@ attrs==23.2.0
# aiohttp
# jsonschema
# referencing
boto3==1.34.69
boto3==1.34.131
# via aiobotocore
botocore==1.34.69
botocore==1.34.131
# via
# aiobotocore
# boto3
Expand Down
4 changes: 2 additions & 2 deletions packages/aws-library/requirements/_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ aws-xray-sdk==2.13.0
# via moto
blinker==1.8.1
# via flask
boto3==1.34.69
boto3==1.34.131
# via
# -c requirements/_base.txt
# aws-sam-translator
# moto
botocore==1.34.69
botocore==1.34.131
# via
# -c requirements/_base.txt
# aws-xray-sdk
Expand Down
3 changes: 2 additions & 1 deletion packages/aws-library/tests/test_s3_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1062,7 +1062,8 @@ async def test_copy_file_invalid_raises(
file = create_file_of_size(parse_obj_as(ByteSize, "1MiB"))
uploaded_file = await upload_file(file)
dst_object_key = faker.file_name()
with pytest.raises(S3BucketInvalidError, match=f"{non_existing_s3_bucket}"):
# NOTE: since aioboto3 13.1.0 this raises S3KeyNotFoundError instead of S3BucketInvalidError
with pytest.raises(S3KeyNotFoundError, match=f"{non_existing_s3_bucket}"):
await simcore_s3_api.copy_object(
bucket=non_existing_s3_bucket,
src_object_key=uploaded_file.s3_key,
Expand Down
19 changes: 10 additions & 9 deletions packages/simcore-sdk/requirements/_test.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
aioboto3==9.6.0
# via
# -c requirements/./constraints.txt
# -r requirements/_test.in
aiobotocore==2.3.0
aioboto3==13.1.0
# via -r requirements/_test.in
aiobotocore==2.13.1
# via aioboto3
aiofiles==23.2.1
# via
# -c requirements/_base.txt
# aioboto3
aiohttp==3.9.5
# via
# -c requirements/../../../requirements/constraints.txt
Expand Down Expand Up @@ -42,13 +44,12 @@ aws-xray-sdk==2.13.0
# via moto
blinker==1.8.1
# via flask
boto3==1.21.21
boto3==1.34.131
# via
# -c requirements/./constraints.txt
# aiobotocore
# aws-sam-translator
# moto
botocore==1.24.21
botocore==1.34.131
# via
# aiobotocore
# aws-xray-sdk
Expand Down Expand Up @@ -286,7 +287,7 @@ rpds-py==0.18.0
# -c requirements/_base.txt
# jsonschema
# referencing
s3transfer==0.5.2
s3transfer==0.10.2
# via boto3
sarif-om==1.0.4
# via cfn-lint
Expand Down
11 changes: 0 additions & 11 deletions packages/simcore-sdk/requirements/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,11 +0,0 @@
# There are incompatible versions in the resolved dependencies:
# boto3==1.21.21 (from -c requirements/./constraints.txt (line 3))
# boto3<1.24.60,>=1.24.59 (from aiobotocore[boto3]==2.4.0->aioboto3==10.1.0->-r requirements/_test.in (line 13))
# boto3>=1.9.201 (from moto[server]==4.0.1->-r requirements/_test.in (line 18))
aioboto3<=9.6.0
# There are incompatible versions in the resolved dependencies:
# botocore>=1.12.201 (from moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore>=1.11.3 (from aws-xray-sdk==2.10.0->moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore<1.28.0,>=1.27.95 (from boto3==1.24.95->moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore<1.24.22,>=1.24.21 (from aiobotocore[boto3]==2.3.0->aioboto3==9.6.0->-r requirements/_test.in (line 13))
boto3<=1.21.21
15 changes: 6 additions & 9 deletions services/agent/requirements/_test.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
aioboto3==9.6.0
# via
# -c requirements/./constraints.txt
# -r requirements/_test.in
aiobotocore==2.3.0
aioboto3==12.4.0
# via -r requirements/_test.in
aiobotocore==2.12.3
# via aioboto3
aiohttp==3.8.5
# via
Expand Down Expand Up @@ -36,13 +34,12 @@ aws-xray-sdk==2.13.0
# via moto
blinker==1.8.1
# via flask
boto3==1.21.21
boto3==1.34.69
# via
# -c requirements/./constraints.txt
# aiobotocore
# aws-sam-translator
# moto
botocore==1.24.21
botocore==1.34.69
# via
# aiobotocore
# aws-xray-sdk
Expand Down Expand Up @@ -249,7 +246,7 @@ rsa==4.9
# via
# -c requirements/../../../requirements/constraints.txt
# python-jose
s3transfer==0.5.2
s3transfer==0.10.2
# via boto3
sarif-om==1.0.4
# via cfn-lint
Expand Down
15 changes: 0 additions & 15 deletions services/agent/requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,6 @@
# CONSTRAINTS DUE TO TEST LIBRARIES
#

#
# BELOW COSNTRAINTS are required to install moto[server]
#

# There are incompatible versions in the resolved dependencies:
# boto3==1.21.21 (from -c requirements/./constraints.txt (line 3))
# boto3<1.24.60,>=1.24.59 (from aiobotocore[boto3]==2.4.0->aioboto3==10.1.0->-r requirements/_test.in (line 13))
# boto3>=1.9.201 (from moto[server]==4.0.1->-r requirements/_test.in (line 18))
aioboto3<=9.6.0
# There are incompatible versions in the resolved dependencies:
# botocore>=1.12.201 (from moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore>=1.11.3 (from aws-xray-sdk==2.10.0->moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore<1.28.0,>=1.27.95 (from boto3==1.24.95->moto[server]==4.0.1->-r requirements/_test.in (line 18))
# botocore<1.24.22,>=1.24.21 (from aiobotocore[boto3]==2.3.0->aioboto3==9.6.0->-r requirements/_test.in (line 13))
boto3<=1.21.21
# There are incompatible versions in the resolved dependencies:
# jsonschema==3.2.0 (from -c requirements/_base.txt (line 159))
# jsonschema~=3.2 (from -c requirements/./constraints.txt (line 12))
Expand Down
9 changes: 5 additions & 4 deletions services/autoscaling/requirements/_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ aio-pika==9.4.1
# -c requirements/../../../packages/service-library/requirements/./_base.in
# -r requirements/../../../packages/aws-library/requirements/../../../packages/service-library/requirements/_base.in
# -r requirements/../../../packages/service-library/requirements/_base.in
aioboto3==12.4.0
aioboto3==13.1.0
# via -r requirements/../../../packages/aws-library/requirements/_base.in
aiobotocore==2.12.3
aiobotocore==2.13.1
# via aioboto3
aiocache==0.12.2
# via
Expand All @@ -27,6 +27,7 @@ aiofiles==23.2.1
# -c requirements/../../../packages/service-library/requirements/./_base.in
# -r requirements/../../../packages/aws-library/requirements/../../../packages/service-library/requirements/_base.in
# -r requirements/../../../packages/service-library/requirements/_base.in
# aioboto3
aiohttp==3.9.5
# via
# -c requirements/../../../packages/aws-library/requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
Expand Down Expand Up @@ -74,9 +75,9 @@ attrs==23.2.0
# aiohttp
# jsonschema
# referencing
boto3==1.34.69
boto3==1.34.131
# via aiobotocore
botocore==1.34.69
botocore==1.34.131
# via
# aiobotocore
# boto3
Expand Down
4 changes: 2 additions & 2 deletions services/autoscaling/requirements/_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ aws-xray-sdk==2.13.1
# via moto
blinker==1.8.2
# via flask
boto3==1.34.69
boto3==1.34.131
# via
# -c requirements/_base.txt
# aws-sam-translator
# moto
botocore==1.34.69
botocore==1.34.131
# via
# -c requirements/_base.txt
# aws-xray-sdk
Expand Down
9 changes: 5 additions & 4 deletions services/clusters-keeper/requirements/_base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ aio-pika==9.4.1
# -c requirements/../../../packages/service-library/requirements/./_base.in
# -r requirements/../../../packages/aws-library/requirements/../../../packages/service-library/requirements/_base.in
# -r requirements/../../../packages/service-library/requirements/_base.in
aioboto3==12.4.0
aioboto3==13.1.0
# via -r requirements/../../../packages/aws-library/requirements/_base.in
aiobotocore==2.12.3
aiobotocore==2.13.1
# via aioboto3
aiocache==0.12.2
# via -r requirements/../../../packages/aws-library/requirements/_base.in
Expand All @@ -24,6 +24,7 @@ aiofiles==23.2.1
# -c requirements/../../../packages/service-library/requirements/./_base.in
# -r requirements/../../../packages/aws-library/requirements/../../../packages/service-library/requirements/_base.in
# -r requirements/../../../packages/service-library/requirements/_base.in
# aioboto3
aiohttp==3.9.5
# via
# -c requirements/../../../packages/aws-library/requirements/../../../packages/models-library/requirements/../../../requirements/constraints.txt
Expand Down Expand Up @@ -71,9 +72,9 @@ attrs==23.2.0
# aiohttp
# jsonschema
# referencing
boto3==1.34.69
boto3==1.34.131
# via aiobotocore
botocore==1.34.69
botocore==1.34.131
# via
# aiobotocore
# boto3
Expand Down
4 changes: 2 additions & 2 deletions services/clusters-keeper/requirements/_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ aws-xray-sdk==2.13.1
# via moto
blinker==1.8.2
# via flask
boto3==1.34.69
boto3==1.34.131
# via
# -c requirements/_base.txt
# aws-sam-translator
# moto
botocore==1.34.69
botocore==1.34.131
# via
# -c requirements/_base.txt
# aws-xray-sdk
Expand Down
12 changes: 8 additions & 4 deletions services/director-v2/requirements/_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@ aio-pika==9.4.1
# via
# -c requirements/_base.txt
# -r requirements/_test.in
aioboto3==12.4.0
aioboto3==13.1.0
# via -r requirements/_test.in
aiobotocore==2.12.3
aiobotocore==2.13.1
# via aioboto3
aiofiles==23.2.1
# via
# -c requirements/_base.txt
# aioboto3
aiohttp==3.9.5
# via
# -c requirements/../../../requirements/constraints.txt
Expand Down Expand Up @@ -45,9 +49,9 @@ attrs==23.2.0
# pytest-docker
bokeh==3.4.1
# via dask
boto3==1.34.69
boto3==1.34.131
# via aiobotocore
botocore==1.34.69
botocore==1.34.131
# via
# aiobotocore
# boto3
Expand Down
12 changes: 8 additions & 4 deletions services/dynamic-sidecar/requirements/_test.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
aioboto3==12.4.0
aioboto3==13.1.0
# via -r requirements/_test.in
aiobotocore==2.12.3
aiobotocore==2.13.1
# via aioboto3
aiofiles==23.2.1
# via
# -c requirements/_base.txt
# aioboto3
aiohttp==3.9.3
# via
# -c requirements/../../../requirements/constraints.txt
Expand All @@ -25,9 +29,9 @@ attrs==23.2.0
# via
# -c requirements/_base.txt
# aiohttp
boto3==1.34.69
boto3==1.34.131
# via aiobotocore
botocore==1.34.69
botocore==1.34.131
# via
# aiobotocore
# boto3
Expand Down
Loading

0 comments on commit 2607824

Please sign in to comment.