Skip to content
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
12 changes: 12 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
Changelog
*********

3.2.0 -- 2021-12-19
===================

Deprecation
-----------
The AWS DynamoDB Encryption Client for Python no longer supports Python 3.6
as of version 3.2; only Python 3.7+ is supported.

Feature
-----------
* Warn on Deprecated Python 3.6 usage

3.1.0 -- 2021-11-10
===================

Expand Down
2 changes: 1 addition & 1 deletion dev_requirements/test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ mock==4.0.3
moto==3.0.2
pytest==7.0.0
pytest-cov==3.0.0
pytest-mock==3.6.1
pytest-mock==3.10.0
pytest-xdist==2.5.0
boto3==1.20.51
botocore==1.23.51
3 changes: 2 additions & 1 deletion src/dynamodb_encryption_sdk/compatability.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ def _warn_deprecated_python():
(2, 7): {"date": DEPRECATION_DATE_MAP["2.x"]},
(3, 4): {"date": DEPRECATION_DATE_MAP["2.x"]},
(3, 5): {"date": "2021-11-10"},
(3, 6): {"date": "2021-12-19"},
}
py_version = (sys.version_info.major, sys.version_info.minor)
minimum_version = (3, 6)
minimum_version = (3, 7)

if py_version in deprecated_versions:
params = deprecated_versions[py_version]
Expand Down
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__ = "3.1.0"
__version__ = "3.2.0"

LOGGER_NAME = "dynamodb_encryption_sdk"
USER_AGENT_SUFFIX = "DynamodbEncryptionSdkPython/{}".format(__version__)
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_compatability.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class TestWarnDeprecatedPython:
def test_happy_version(self):
with mock.patch.object(sys, "version_info") as v_info:
v_info.major = 3
v_info.minor = 6
v_info.minor = 7
with pytest.warns(None) as record:
_warn_deprecated_python()
assert len(record) == 0
Expand Down