Skip to content

Commit fa7e585

Browse files
committed
chore: warn about Py3.7 deprecation
1 parent 9f94fc8 commit fa7e585

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: src/dynamodb_encryption_sdk/compatability.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ def _warn_deprecated_python():
2424
(3, 4): {"date": DEPRECATION_DATE_MAP["2.x"]},
2525
(3, 5): {"date": "2021-11-10"},
2626
(3, 6): {"date": "2021-12-19"},
27+
(3, 7): {"date": "2024-03-04"},
2728
}
2829
py_version = (sys.version_info.major, sys.version_info.minor)
29-
minimum_version = (3, 7)
30+
minimum_version = (3, 8)
3031

3132
if py_version in deprecated_versions:
3233
params = deprecated_versions[py_version]
@@ -36,5 +37,5 @@ def _warn_deprecated_python():
3637
"bug fixes, and security updates please upgrade to Python {}.{} or "
3738
"later. For more information, see SUPPORT_POLICY.rst: "
3839
"https://github.com/aws/aws-dynamodb-encryption-python/blob/master/SUPPORT_POLICY.rst"
39-
).format(py_version[0], py_version[1], minimum_version[0], minimum_version[1], params["date"])
40+
).format(py_version[0], py_version[1], params["date"], minimum_version[0], minimum_version[1])
4041
warnings.warn(warning, DeprecationWarning)

0 commit comments

Comments
 (0)