From a965835b39888d87f891af7c39a6a78dd129efea Mon Sep 17 00:00:00 2001 From: texastony <5892063+texastony@users.noreply.github.com> Date: Thu, 25 Aug 2022 17:38:30 -0700 Subject: [PATCH 1/3] feat(__init__): Warn of V2 End of Support --- src/aws_encryption_sdk/__init__.py | 7 +++++++ tox.ini | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/aws_encryption_sdk/__init__.py b/src/aws_encryption_sdk/__init__.py index 0525f332d..56afd06ce 100644 --- a/src/aws_encryption_sdk/__init__.py +++ b/src/aws_encryption_sdk/__init__.py @@ -36,6 +36,13 @@ StreamEncryptor, ) +warnings.warn( + "This major version (2.x) of the AWS Encryption SDK for Python has reached End-of-Support.\n" + + "It will no longer receive security updates or bug fixes.\n" + + "Consider updating to the latest version of the AWS Encryption SDK.", + DeprecationWarning, +) + @attr.s(hash=True) class EncryptionSDKClientConfig(object): diff --git a/tox.ini b/tox.ini index b910aa983..343e55495 100644 --- a/tox.ini +++ b/tox.ini @@ -247,7 +247,7 @@ deps = {[testenv:isort]deps} commands = {[testenv:isort]commands} -c [testenv:autoformat] -basepython = python3 +basepython = python3.7 deps = {[testenv:blacken]deps} {[testenv:isort]deps} From ca9a47e90b4b5d4196fe3ed53cec1fe07333fd1d Mon Sep 17 00:00:00 2001 From: texastony <5892063+texastony@users.noreply.github.com> Date: Thu, 25 Aug 2022 17:39:11 -0700 Subject: [PATCH 2/3] docs(SupportPolicy): Mark 1.x & 2.x End-of-Support --- SUPPORT_POLICY.rst | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/SUPPORT_POLICY.rst b/SUPPORT_POLICY.rst index c787cf1a8..76cd580d4 100644 --- a/SUPPORT_POLICY.rst +++ b/SUPPORT_POLICY.rst @@ -22,16 +22,16 @@ This table describes the current support status of each major version of the AWS - Next status - Next status date * - 1.x - - Maintenance - End of Support - - 2022-06-30 + - + - * - 2.x - - General Availability - - Maintenance - - 2021-07-01 - * - 3.x + - End of Support + - - + * - 3.x - General Availability - - 2021-07-01 + - + - .. _AWS SDKs and Tools Maintenance Policy: https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle From c5a8e66586649bad4e38f4705361062253212c3c Mon Sep 17 00:00:00 2001 From: texastony <5892063+texastony@users.noreply.github.com> Date: Thu, 25 Aug 2022 19:52:23 -0700 Subject: [PATCH 3/3] chore: 2.x End-of-Support --- CHANGELOG.rst | 13 +++++++++++++ src/aws_encryption_sdk/identifiers.py | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index aa6c7ea02..5d2f2ce78 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ Changelog ********* +2.5.1 -- 2022-08-30 +=================== + +Deprecation Announcement +------------------------ +The AWS Encryption SDK for Python Major Version 2 is End of Support. +It will no longer receive security updates or bug fixes. +Consider updating to the latest version of the AWS Encryption SDK for Python. + +Maintenance +------------------------ +* Emit Deprecation Warning on library initialization + 2.5.0 -- 2022-06-20 =================== diff --git a/src/aws_encryption_sdk/identifiers.py b/src/aws_encryption_sdk/identifiers.py index ab426710d..35d202126 100644 --- a/src/aws_encryption_sdk/identifiers.py +++ b/src/aws_encryption_sdk/identifiers.py @@ -27,7 +27,7 @@ # We only actually need these imports when running the mypy checks pass -__version__ = "2.5.0" +__version__ = "2.5.1" USER_AGENT_SUFFIX = "AwsEncryptionSdkPython/{}".format(__version__)