Skip to content

Commit

Permalink
Add deprecation note about Python 3.6 (#935)
Browse files Browse the repository at this point in the history
Add deprecation note about Python 3.6

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
(community.aws PRs will follow after the amazon.aws PRs are approved)

Reviewed-by: Felix Fontein <[email protected]>
Reviewed-by: Alina Buzachis <None>
  • Loading branch information
tremble authored Jul 18, 2022
1 parent 5c0c94d commit 7d45a2b
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 @@ -17,7 +17,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:
- amazon.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/1360).

0 comments on commit 7d45a2b

Please sign in to comment.