Skip to content

chore: Mark 1.x as End-of-Support #480

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
Dec 22, 2022
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
*********

1.3.1 -- 2022-12-19
===================

Deprecation Announcement
------------------------
The AWS DynamoDB Encryption Client for Python Major Version 1 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

1.3.0 -- 2021-02-04
===================
Adds the CachingMostRecentProvider and deprecates MostRecentProvider.
Expand Down
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/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.6
- pyenv local 3.8.6
- pip install tox tox-pyenv
- pip install "tox < 4.0"
- tox
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 (1.x) of the AWS DynamoDB Encryption Client 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 DynamoDB Encryption Client.",
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__ = "1.3.0"
__version__ = "1.3.1"

LOGGER_NAME = "dynamodb_encryption_sdk"
USER_AGENT_SUFFIX = "DynamodbEncryptionSdkPython/{}".format(__version__)
Expand Down
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,9 @@ commands =
[testenv:flake8]
basepython = python3
deps =
flake8
flake8-docstrings
flake8-isort
flake8==4.0.1
flake8-docstrings==1.6.0
flake8-isort==4.1.1
# https://github.com/PyCQA/pydocstyle/issues/375
pydocstyle<4.0.0
# https://github.com/JBKahn/flake8-print/pull/30
Expand Down