Skip to content

Commit

Permalink
Bump minimum botocore version (#1362)
Browse files Browse the repository at this point in the history
Bump minimum botocore version

SUMMARY
Inline with the documented policy, bump botocore (and boto3/awscli) requirements for main branch
ISSUE TYPE

Feature Pull Request

COMPONENT NAME
README.md
requirements.txt
tests/integration/constraints.txt
tests/unit/constraints.txt
ADDITIONAL INFORMATION
[✔ mchappel@mchappel botocore] $ git show 1.21.0
tag 1.21.0
Tagger: aws-sdk-python-automation <[email protected]>
Date:   Thu Jul 15 18:08:47 2021 +0000

Tagging 1.21.0 release.

See also ansible-collections/amazon.aws#934

Reviewed-by: Joseph Torcasso <None>
  • Loading branch information
tremble authored Jul 19, 2022
1 parent 627aab9 commit 464c6ca
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ after 2023-05-31.

Starting with the 2.0.0 releases of amazon.aws and community.aws, it is generally the collection's policy to support the versions of `botocore` and `boto3` that were released 12 months prior to the most recent major collection release, following semantic versioning (for example, 2.0.0, 3.0.0).

Version 4.0.0 of this collection supports `boto3 >= 1.17.0` and `botocore >= 1.20.0`
Version 5.0.0 of this collection supports `boto3 >= 1.18.0` and `botocore >= 1.21.0`

All support for the original AWS SDK `boto` was removed in release 4.0.0.

Expand Down
6 changes: 6 additions & 0 deletions changelogs/fragments/botocore.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
breaking_changes:
- community.aws collection - The community.aws collection has dropped support for ``botocore<1.21.0`` and
``boto3<1.18.0``. Most modules will continue to work with older versions of the AWS SDK, however
compatability with older versions of the SDK is not guaranteed and will not be tested. When using
older versions of the SDK a warning will be emitted by Ansible
(https://github.com/ansible-collections/community.aws/pull/1362).
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
# - tests/unit/constraints.txt
# - tests/integration/constraints.txt
# - tests/integration/targets/setup_botocore_pip
botocore>=1.20.0
boto3>=1.17.0
botocore>=1.21.0
boto3>=1.18.0
6 changes: 3 additions & 3 deletions tests/integration/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Specifically run tests against the oldest versions that we support
boto3==1.17.0
botocore==1.20.0
boto3==1.18.0
botocore==1.21.0

# AWS CLI has `botocore==` dependencies, provide the one that matches botocore
# to avoid needing to download over a years worth of awscli wheels.
awscli==1.19.0
awscli==1.20.0
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
default_botocore_version: '1.20.0'
default_boto3_version: '1.17.0'
default_botocore_version: '1.21.0'
default_boto3_version: '1.18.0'
6 changes: 3 additions & 3 deletions tests/unit/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Specifically run tests against the oldest versions that we support
boto3==1.17.0
botocore==1.20.0
boto3==1.18.0
botocore==1.21.0

# AWS CLI has `botocore==` dependencies, provide the one that matches botocore
# to avoid needing to download over a years worth of awscli wheels.
awscli==1.19.0
awscli==1.20.0

0 comments on commit 464c6ca

Please sign in to comment.