diff --git a/setup.py b/setup.py index 3a4a667..2abe972 100644 --- a/setup.py +++ b/setup.py @@ -59,7 +59,7 @@ def readme(): install_requires=[ 'python-dateutil>=2.8', 'thumbor>=7.0.0a2,<8', - 'aiobotocore>=2.0', + 'aiobotocore<2.0', 'boto3', ], extras_require={ diff --git a/tc_aws/aws/bucket.py b/tc_aws/aws/bucket.py index 46c52f6..d8ef50e 100644 --- a/tc_aws/aws/bucket.py +++ b/tc_aws/aws/bucket.py @@ -45,7 +45,7 @@ def __init__(self, bucket, region, endpoint, max_retry=None): ) if self._client is None: - self._client = aiobotocore.session.get_session().create_client( + self._client = aiobotocore.get_session().create_client( 's3', region_name=region, endpoint_url=endpoint,