Skip to content

Commit 352b0a2

Browse files
authored
chore: Mark 2.x as End-of-Support (#500)
1 parent 77c2d88 commit 352b0a2

File tree

5 files changed

+29
-9
lines changed

5 files changed

+29
-9
lines changed

CHANGELOG.rst

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,19 @@
22
Changelog
33
*********
44

5+
2.5.1 -- 2022-08-30
6+
===================
7+
8+
Deprecation Announcement
9+
------------------------
10+
The AWS Encryption SDK for Python Major Version 2 is End of Support.
11+
It will no longer receive security updates or bug fixes.
12+
Consider updating to the latest version of the AWS Encryption SDK for Python.
13+
14+
Maintenance
15+
------------------------
16+
* Emit Deprecation Warning on library initialization
17+
518
2.5.0 -- 2022-06-20
619
===================
720

SUPPORT_POLICY.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,16 @@ This table describes the current support status of each major version of the AWS
2222
- Next status
2323
- Next status date
2424
* - 1.x
25-
- Maintenance
2625
- End of Support
27-
- 2022-06-30
26+
-
27+
-
2828
* - 2.x
29-
- General Availability
30-
- Maintenance
31-
- 2021-07-01
32-
* - 3.x
29+
- End of Support
30+
-
3331
-
32+
* - 3.x
3433
- General Availability
35-
- 2021-07-01
34+
-
35+
-
3636

3737
.. _AWS SDKs and Tools Maintenance Policy: http://docs.aws.amazon.com/sdkref/latest/guide/maint-policy.html#version-life-cycle

src/aws_encryption_sdk/__init__.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,13 @@
3636
StreamEncryptor,
3737
)
3838

39+
warnings.warn(
40+
"This major version (2.x) of the AWS Encryption SDK for Python has reached End-of-Support.\n"
41+
+ "It will no longer receive security updates or bug fixes.\n"
42+
+ "Consider updating to the latest version of the AWS Encryption SDK.",
43+
DeprecationWarning,
44+
)
45+
3946

4047
@attr.s(hash=True)
4148
class EncryptionSDKClientConfig(object):

src/aws_encryption_sdk/identifiers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# We only actually need these imports when running the mypy checks
2828
pass
2929

30-
__version__ = "2.5.0"
30+
__version__ = "2.5.1"
3131
USER_AGENT_SUFFIX = "AwsEncryptionSdkPython/{}".format(__version__)
3232

3333

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ deps = {[testenv:isort]deps}
247247
commands = {[testenv:isort]commands} -c
248248

249249
[testenv:autoformat]
250-
basepython = python3
250+
basepython = python3.7
251251
deps =
252252
{[testenv:blacken]deps}
253253
{[testenv:isort]deps}

0 commit comments

Comments
 (0)