diff --git a/CHANGELOG.rst b/CHANGELOG.rst index fd602e43..1e4b78b4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,19 @@ Changelog ********* +2.1.1 -- 2022-12-19 +=================== + +Deprecation Announcement +------------------------ +The AWS DynamoDB Encryption Client 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 DynamoDB Encryption Client for Python. + +Maintenance +------------------------ +* Emit Deprecation Warning on library initialization + 2.1.0 -- 2021-07-15 =================== diff --git a/SUPPORT_POLICY.rst b/SUPPORT_POLICY.rst index 26667e42..2f779801 100644 --- a/SUPPORT_POLICY.rst +++ b/SUPPORT_POLICY.rst @@ -22,16 +22,13 @@ 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-07-08 * - 2.x - - Generally Available - - Maintenance - - 2021-07-13 + - End of Support + - + - * - 3.x - - Generally Available - - 2021-07-13 .. _AWS SDKs and Tools Maintenance Policy: https://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle diff --git a/ci-requirements.txt b/ci-requirements.txt index 053148f8..87aaac6e 100644 --- a/ci-requirements.txt +++ b/ci-requirements.txt @@ -1 +1 @@ -tox +tox < 4.0 diff --git a/codebuild/coverage/coverage.yml b/codebuild/coverage/coverage.yml index f82a3a98..51d8b0a6 100644 --- a/codebuild/coverage/coverage.yml +++ b/codebuild/coverage/coverage.yml @@ -10,5 +10,5 @@ phases: python: latest build: commands: - - pip install tox + - pip install "tox < 4.0" - tox diff --git a/codebuild/python3.7.yml b/codebuild/python3.7.yml index 1ac0daa6..dcb6b944 100644 --- a/codebuild/python3.7.yml +++ b/codebuild/python3.7.yml @@ -28,5 +28,5 @@ phases: # The choice of versions should be reviewed. - pyenv install 3.7.9 - pyenv local 3.7.9 - - pip install tox tox-pyenv + - pip install "tox < 4.0" - tox diff --git a/codebuild/python3.8.yml b/codebuild/python3.8.yml index c0170f2a..cc7a821d 100644 --- a/codebuild/python3.8.yml +++ b/codebuild/python3.8.yml @@ -16,5 +16,5 @@ phases: commands: - pyenv install 3.8.12 - pyenv local 3.8.12 - - pip install tox tox-pyenv + - pip install "tox < 4.0" - tox diff --git a/codebuild/python3.9.yml b/codebuild/python3.9.yml index 62868c80..f8ed9616 100644 --- a/codebuild/python3.9.yml +++ b/codebuild/python3.9.yml @@ -16,5 +16,5 @@ phases: commands: - pyenv install 3.9.0 - pyenv local 3.9.0 - - pip install tox tox-pyenv + - pip install "tox < 4.0" - tox diff --git a/codebuild/release/prod-release.yml b/codebuild/release/prod-release.yml index c729c96c..c8639c61 100644 --- a/codebuild/release/prod-release.yml +++ b/codebuild/release/prod-release.yml @@ -10,7 +10,7 @@ env: phases: install: commands: - - pip install tox + - pip install "tox < 4.0" - pip install --upgrade pip runtime-versions: python: latest diff --git a/codebuild/release/test-release.yml b/codebuild/release/test-release.yml index 1dc9feae..9d8fbed2 100644 --- a/codebuild/release/test-release.yml +++ b/codebuild/release/test-release.yml @@ -10,7 +10,7 @@ env: phases: install: commands: - - pip install tox + - pip install "tox < 4.0" - pip install --upgrade pip runtime-versions: python: latest diff --git a/codebuild/release/validate.yml b/codebuild/release/validate.yml index eacf49ae..e72def0c 100644 --- a/codebuild/release/validate.yml +++ b/codebuild/release/validate.yml @@ -15,7 +15,7 @@ env: phases: install: commands: - - pip install tox + - pip install "tox < 4.0" runtime-versions: python: latest pre_build: diff --git a/src/dynamodb_encryption_sdk/__init__.py b/src/dynamodb_encryption_sdk/__init__.py index 7b5dba80..cc47c5c9 100644 --- a/src/dynamodb_encryption_sdk/__init__.py +++ b/src/dynamodb_encryption_sdk/__init__.py @@ -11,6 +11,8 @@ # ANY KIND, either express or implied. See the License for the specific # language governing permissions and limitations under the License. """DynamoDB Encryption Client.""" +import warnings + from dynamodb_encryption_sdk.encrypted.client import EncryptedClient from dynamodb_encryption_sdk.encrypted.item import ( decrypt_dynamodb_item, @@ -32,3 +34,10 @@ "EncryptedTable", "__version__", ) + +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, +) diff --git a/src/dynamodb_encryption_sdk/identifiers.py b/src/dynamodb_encryption_sdk/identifiers.py index e7a0fcfd..61cc9568 100644 --- a/src/dynamodb_encryption_sdk/identifiers.py +++ b/src/dynamodb_encryption_sdk/identifiers.py @@ -14,7 +14,7 @@ from enum import Enum __all__ = ("LOGGER_NAME", "CryptoAction", "EncryptionKeyType", "KeyEncodingType") -__version__ = "2.1.0" +__version__ = "2.1.1" LOGGER_NAME = "dynamodb_encryption_sdk" USER_AGENT_SUFFIX = "DynamodbEncryptionSdkPython/{}".format(__version__)