Skip to content

Commit

Permalink
Add deprecation note about Python 3.6 (#1361) (#1363)
Browse files Browse the repository at this point in the history
[PR #1361/627aab9c backport][stable-4] Add deprecation note about Python 3.6

This is a backport of PR #1361 as merged into main (627aab9).
SUMMARY
The AWS SDK for Python has now dropped support for Python 3.6 and announced that in future they're dropping support 6 months after PSF End Of Support for a version.
Keeping with our 1-year-old Botocore/Boto3 requirements, this will result in us needing to drop support for Python 3.6 in about a year, when we would be scheduled to bump to botocore >= 1.27.0, as 1.27.0 requires Python 3.7.  This means we're generally going to drop support for a version of Python around 18 months after PSF End Of Support.  For the sake of transparency to our users, add a deprecation notice.
ISSUE TYPE

Docs Pull Request

COMPONENT NAME
README.md
ADDITIONAL INFORMATION
See also: ansible-collections/amazon.aws#935

Reviewed-by: Mark Chappell <None>
  • Loading branch information
patchback[bot] authored Jul 19, 2022
1 parent 6217373 commit 7d740ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,14 @@ PEP440 is the schema used to describe the versions of Ansible.

## Python version compatibility

As the AWS SDK for Python (Boto3 and Botocore) has [ceased supporting Python 2.7](https://aws.amazon.com/blogs/developer/announcing-end-of-support-for-python-2-7-in-aws-sdk-for-python-and-aws-cli-v1/), this collection requires Python 3.6 or greater.
This collection depends on the AWS SDK for Python (Boto3 and Botocore). Due to the
[AWS SDK Python Support Policy](https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)
this collection requires Python 3.6 or greater.

Amazon have also announced the end of support for
[Python less than 3.7](https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/).
As such support for Python less than 3.7 by this collection has been deprecated and will be removed in a release
after 2023-05-31.

## AWS SDK version compatibility

Expand Down
6 changes: 6 additions & 0 deletions changelogs/fragments/python.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
deprecated_features:
- community.aws collection - due to the AWS SDKs announcing the end of support for Python less than 3.7
(https://aws.amazon.com/blogs/developer/python-support-policy-updates-for-aws-sdks-and-tools/)
support for Python less than 3.7 by this collection has been deprecated and will be removed in a
release after 2023-05-31
(https://github.com/ansible-collections/community.aws/pull/1361).

0 comments on commit 7d740ba

Please sign in to comment.