Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[PR #2195/a5f54a5a backport][stable-9] Bump botocore/boto3 requirements (add deprecation reminder about Python 3.8 support #2196

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ As such support for Python less than 3.8 will be removed in a release after 2024

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 7.0.0 of this collection supports `boto3 >= 1.26.0` and `botocore >= 1.29.0`
Version 9.0.0 of this collection supports `boto3 >= 1.28.0` and `botocore >= 1.31.0`

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

Expand Down
14 changes: 14 additions & 0 deletions changelogs/fragments/botocore-python.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
breaking_changes:
- The community.aws collection has dropped support for ``botocore<1.31.0`` and
``boto3<1.28.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/2195).
deprecated_features:
- community.aws collection - due to the AWS SDKs announcing the end of support
for Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)
support for Python less than 3.8 by this collection has been deprecated
and will removed in release 10.0.0
(https://github.com/ansible-collections/community.aws/pull/2195).
1 change: 0 additions & 1 deletion plugins/modules/ecs_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,6 @@
loadBalancers:
description:
- A list of load balancer objects
- Updating the loadbalancer configuration of an existing service requires botocore>=1.24.14.
returned: always
type: complex
contains:
Expand Down
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.29.0
boto3>=1.26.0
botocore>=1.31.0
boto3>=1.28.0
6 changes: 3 additions & 3 deletions tests/integration/constraints.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Specifically run tests against the oldest versions that we support
botocore==1.29.0
boto3==1.26.0
botocore==1.31.0
boto3==1.28.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.27.0
awscli==1.29.0

# AWS CLI depends on PyYAML <5.5,>=3.10; the latest PyYAML release in that range, 5.4.1, fails to install.
# Use a version in that range that is known to work (https://github.com/yaml/pyyaml/issues/736)
Expand Down
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
botocore==1.29.0
boto3==1.26.0
botocore==1.31.0
boto3==1.28.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.27.0
awscli==1.29.0
Loading