Skip to content

Remove awscli and boto3 optional dependencies #1424

@jakob-keller

Description

@jakob-keller

We currently support and advertise installing aiobotocore along with supported versions of awscli and boto3 using optional dependencies:

pip install -U 'aiobotocore[awscli,boto3]'

I view this primarily as a historic legacy and propose to remove those optional dependencies on the following grounds:

  • modern pip and equivalent tools (uv, poetry, ?) should be fully capable of resolving the dependency graph and installing compatible sets of dependencies by merely running pip install -U aiobotocore awscli boto3 or equivalent. I am unaware of any need for those optional dependencies.
  • awscli is pinning to 1.x releases of the AWS CLI. AWS CLI 2.x has been around for years. AWS CLI 1.x might not be relevant anymore for the majority of users.
  • The awscli extra is not beening tested as part of the development lifecycle, AFAIK.
  • Keeping those extra dependency pins aligned with the pin on botocore is a recurring, manual task that complicates the process of bumping the supported botocore version range.

Any thoughts from users and maintainers?

If we reach consensus on this proposal, I would be happy to prepare a PR to include the change in the upcoming 3.0.0 release.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency file

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions