Skip to content

Directly specify optional dependencies awscli and boto3 #994

@jakob-keller

Description

@jakob-keller

Hi!

Over at aio-libs/aiobotocore#1424, I am proposing to retire the aiobotocore optional dependencies / "extras" boto3 and awscli in a future major release.

s3fs is currently relying on those in:

s3fs/setup.py

Lines 39 to 40 in f8d4e41

"awscli": [f"aiobotocore[awscli]{aiobotocore_version_suffix}"],
"boto3": [f"aiobotocore[boto3]{aiobotocore_version_suffix}"],

Would it be possible for s3fs to specify those dependencies directly?

"awscli": [f"aiobotocore{aiobotocore_version_suffix}", "awscli"], 
"boto3": [f"aiobotocore{aiobotocore_version_suffix}", "boto3"], 

Modern dependency resolvers in pip, uv and so forth should not have any trouble with that and install the same set of packages as before.

Any thoughts? Am I missing something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions