Skip to content

chore: Mark 2.x as End-of-Support #481

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
-
-
Comment on lines +27 to +29
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have updated this on 2021-07-13
and set the Next Status to End of Support.
But I think the dates are ok for now.

* - 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