diff --git a/README.md b/README.md index d63c845a58e..1c4a4ed6173 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/changelogs/fragments/botocore-python.yaml b/changelogs/fragments/botocore-python.yaml new file mode 100644 index 00000000000..08b72eacd07 --- /dev/null +++ b/changelogs/fragments/botocore-python.yaml @@ -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). diff --git a/plugins/modules/ecs_service.py b/plugins/modules/ecs_service.py index be2735cf6da..fae0af619b5 100644 --- a/plugins/modules/ecs_service.py +++ b/plugins/modules/ecs_service.py @@ -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: diff --git a/requirements.txt b/requirements.txt index cd474e3b66b..131cc3b8f5c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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 diff --git a/tests/integration/constraints.txt b/tests/integration/constraints.txt index f388e1f900b..c55f7cdd016 100644 --- a/tests/integration/constraints.txt +++ b/tests/integration/constraints.txt @@ -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) diff --git a/tests/unit/constraints.txt b/tests/unit/constraints.txt index 5708323f110..c2fad718813 100644 --- a/tests/unit/constraints.txt +++ b/tests/unit/constraints.txt @@ -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