aio-libs / aiobotocore

asyncio support for botocore library using aiohttp

Home Page:https://aiobotocore.rtfd.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't install latest s3fs + awscli/boto3 libraries due to version constraints defined in setup.py

walterdolce opened this issue · comments

Describe the bug
Hello, as per title, I was trying to use the latest versions of awscli (1.25.16), boto3 (1.24.16) and s3fs (2022.5.0), however it does not look like that's possible because aiobotocore - a dependency of s3fs - pins awscli & boto3 to specific version ranges in the setup.py file:

https://github.com/aio-libs/aiobotocore/blob/master/setup.py#L18-L19

extras_require = {
    'awscli': ['awscli>=1.22.76,<1.22.77'],
    'boto3': ['boto3>=1.21.21,<1.21.22'],
}

Is there any chance these dependencies could be updated? Or is there a version constraint because aiobotocore would not be able to work altogether if this dependency version restriction would be lifted?

Thanks!

We have been running aiobotocore with the newest boto3 / awscli version installed in parallel, without any issues so far. Since boto3 only receives minor updates, locking boto/awscli version is probably unnecessary...

Hi! Is it possible to update this line to the latest botocore version 1.27.29?

'botocore>=1.24.21,<1.24.22',

@walterdolce According to these comments it should fix s3fs+awscli+boto3 conflict

aiobotocore/setup.py

Lines 6 to 7 in fe3d847

# NOTE: If updating requirements make sure to also check Pipfile for any locks
# NOTE: When updating botocore make sure to update awscli/boto3 versions below

there's an open PR to upgrade, just haven't had a chance to review it, been totally swamped

bumped