Skip to content

Commit f360734

Browse files
Shubham ChaturvediShubham Chaturvedi
Shubham Chaturvedi
and
Shubham Chaturvedi
authored
chore: Adds python36 deprecation to changelog (#479)
* chore: Adds pyhton36 deprecation to changelog * fix: updates compatability test to 3.7 * fix: pin tox dependency < 4.0 * fix: reword the deprecation announcement Co-authored-by: Shubham Chaturvedi <[email protected]>
1 parent 390ec17 commit f360734

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

CHANGELOG.rst

+12
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22
Changelog
33
*********
44

5+
3.2.0 -- 2021-12-19
6+
===================
7+
8+
Deprecation
9+
-----------
10+
The AWS DynamoDB Encryption Client for Python no longer supports Python 3.6
11+
as of version 3.2; only Python 3.7+ is supported.
12+
13+
Feature
14+
-----------
15+
* Warn on Deprecated Python 3.6 usage
16+
517
3.1.0 -- 2021-11-10
618
===================
719

dev_requirements/test-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mock==4.0.3
33
moto==3.0.2
44
pytest==7.0.0
55
pytest-cov==3.0.0
6-
pytest-mock==3.6.1
6+
pytest-mock==3.10.0
77
pytest-xdist==2.5.0
88
boto3==1.20.51
99
botocore==1.23.51

src/dynamodb_encryption_sdk/compatability.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@ def _warn_deprecated_python():
2323
(2, 7): {"date": DEPRECATION_DATE_MAP["2.x"]},
2424
(3, 4): {"date": DEPRECATION_DATE_MAP["2.x"]},
2525
(3, 5): {"date": "2021-11-10"},
26+
(3, 6): {"date": "2021-12-19"},
2627
}
2728
py_version = (sys.version_info.major, sys.version_info.minor)
28-
minimum_version = (3, 6)
29+
minimum_version = (3, 7)
2930

3031
if py_version in deprecated_versions:
3132
params = deprecated_versions[py_version]

src/dynamodb_encryption_sdk/identifiers.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
from enum import Enum
1515

1616
__all__ = ("LOGGER_NAME", "CryptoAction", "EncryptionKeyType", "KeyEncodingType")
17-
__version__ = "3.1.0"
17+
__version__ = "3.2.0"
1818

1919
LOGGER_NAME = "dynamodb_encryption_sdk"
2020
USER_AGENT_SUFFIX = "DynamodbEncryptionSdkPython/{}".format(__version__)

test/unit/test_compatability.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class TestWarnDeprecatedPython:
2525
def test_happy_version(self):
2626
with mock.patch.object(sys, "version_info") as v_info:
2727
v_info.major = 3
28-
v_info.minor = 6
28+
v_info.minor = 7
2929
with pytest.warns(None) as record:
3030
_warn_deprecated_python()
3131
assert len(record) == 0

0 commit comments

Comments
 (0)