Skip to content

Commit 9acdc0a

Browse files
Bump botocore/boto3 requirements (add deprecation reminder about Python 3.8 support) (#2195) (#2196)
This is a backport of PR #2195 as merged into main (a5f54a5). SUMMARY Bump botocore/boto3 requirements (add deprecation reminder about Python 3.8 support ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request New Module Pull Request COMPONENT NAME ADDITIONAL INFORMATION Reviewed-by: Alina Buzachis
1 parent 7a7e3ea commit 9acdc0a

File tree

6 files changed

+23
-10
lines changed

6 files changed

+23
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ As such support for Python less than 3.8 will be removed in a release after 2024
5353

5454
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).
5555

56-
Version 7.0.0 of this collection supports `boto3 >= 1.26.0` and `botocore >= 1.29.0`
56+
Version 9.0.0 of this collection supports `boto3 >= 1.28.0` and `botocore >= 1.31.0`
5757

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

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
breaking_changes:
3+
- The community.aws collection has dropped support for ``botocore<1.31.0`` and
4+
``boto3<1.28.0``. Most modules will continue to work with older versions of
5+
the AWS SDK. However, compatability with older versions of the SDK is not guaranteed
6+
and will not be tested. When using older versions of the SDK a warning will
7+
be emitted by Ansible
8+
(https://github.com/ansible-collections/community.aws/pull/2195).
9+
deprecated_features:
10+
- community.aws collection - due to the AWS SDKs announcing the end of support
11+
for Python less than 3.8 (https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)
12+
support for Python less than 3.8 by this collection has been deprecated
13+
and will removed in release 10.0.0
14+
(https://github.com/ansible-collections/community.aws/pull/2195).

plugins/modules/ecs_service.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,6 @@
420420
loadBalancers:
421421
description:
422422
- A list of load balancer objects
423-
- Updating the loadbalancer configuration of an existing service requires botocore>=1.24.14.
424423
returned: always
425424
type: complex
426425
contains:

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
# - tests/unit/constraints.txt
33
# - tests/integration/constraints.txt
44
# - tests/integration/targets/setup_botocore_pip
5-
botocore>=1.29.0
6-
boto3>=1.26.0
5+
botocore>=1.31.0
6+
boto3>=1.28.0

tests/integration/constraints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Specifically run tests against the oldest versions that we support
2-
botocore==1.29.0
3-
boto3==1.26.0
2+
botocore==1.31.0
3+
boto3==1.28.0
44

55
# AWS CLI has `botocore==` dependencies, provide the one that matches botocore
66
# to avoid needing to download over a years worth of awscli wheels.
7-
awscli==1.27.0
7+
awscli==1.29.0
88

99
# AWS CLI depends on PyYAML <5.5,>=3.10; the latest PyYAML release in that range, 5.4.1, fails to install.
1010
# Use a version in that range that is known to work (https://github.com/yaml/pyyaml/issues/736)

tests/unit/constraints.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Specifically run tests against the oldest versions that we support
2-
botocore==1.29.0
3-
boto3==1.26.0
2+
botocore==1.31.0
3+
boto3==1.28.0
44

55
# AWS CLI has `botocore==` dependencies, provide the one that matches botocore
66
# to avoid needing to download over a years worth of awscli wheels.
7-
awscli==1.27.0
7+
awscli==1.29.0

0 commit comments

Comments
 (0)