Skip to content

Commit

Permalink
chore: Mark 2.x as End-of-Support (#481)
Browse files Browse the repository at this point in the history
* chore: Mark 2.x as End-of-Support

* fix: tox dependency

Co-authored-by: Shubham Chaturvedi <scchatur@amazon.com>
  • Loading branch information
Shubham Chaturvedi and Shubham Chaturvedi authored Jan 11, 2023
1 parent 2019002 commit aeb8a15
Show file tree
Hide file tree
Showing 12 changed files with 34 additions and 15 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
===================

Expand Down
9 changes: 3 additions & 6 deletions SUPPORT_POLICY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion ci-requirements.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tox
tox < 4.0
2 changes: 1 addition & 1 deletion codebuild/coverage/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ phases:
python: latest
build:
commands:
- pip install tox
- pip install "tox < 4.0"
- tox
2 changes: 1 addition & 1 deletion codebuild/python3.7.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion codebuild/python3.8.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion codebuild/python3.9.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion codebuild/release/prod-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
phases:
install:
commands:
- pip install tox
- pip install "tox < 4.0"
- pip install --upgrade pip
runtime-versions:
python: latest
Expand Down
2 changes: 1 addition & 1 deletion codebuild/release/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ env:
phases:
install:
commands:
- pip install tox
- pip install "tox < 4.0"
- pip install --upgrade pip
runtime-versions:
python: latest
Expand Down
2 changes: 1 addition & 1 deletion codebuild/release/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
phases:
install:
commands:
- pip install tox
- pip install "tox < 4.0"
runtime-versions:
python: latest
pre_build:
Expand Down
9 changes: 9 additions & 0 deletions src/dynamodb_encryption_sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
)
2 changes: 1 addition & 1 deletion src/dynamodb_encryption_sdk/identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down

0 comments on commit aeb8a15

Please sign in to comment.