Skip to content

Commit aeb8a15

Browse files
Shubham ChaturvediShubham Chaturvedi
Shubham Chaturvedi
and
Shubham Chaturvedi
authored
chore: Mark 2.x as End-of-Support (#481)
* chore: Mark 2.x as End-of-Support * fix: tox dependency Co-authored-by: Shubham Chaturvedi <[email protected]>
1 parent 2019002 commit aeb8a15

12 files changed

+34
-15
lines changed

CHANGELOG.rst

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

5+
2.1.1 -- 2022-12-19
6+
===================
7+
8+
Deprecation Announcement
9+
------------------------
10+
The AWS DynamoDB Encryption Client 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 DynamoDB Encryption Client for Python.
13+
14+
Maintenance
15+
------------------------
16+
* Emit Deprecation Warning on library initialization
17+
518
2.1.0 -- 2021-07-15
619
===================
720

SUPPORT_POLICY.rst

+3-6
Original file line numberDiff line numberDiff line change
@@ -22,16 +22,13 @@ 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-07-08
2826
* - 2.x
29-
- Generally Available
30-
- Maintenance
31-
- 2021-07-13
27+
- End of Support
28+
-
29+
-
3230
* - 3.x
3331
-
3432
- Generally Available
35-
- 2021-07-13
3633

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

ci-requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
tox
1+
tox < 4.0

codebuild/coverage/coverage.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,5 @@ phases:
1010
python: latest
1111
build:
1212
commands:
13-
- pip install tox
13+
- pip install "tox < 4.0"
1414
- tox

codebuild/python3.7.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,5 @@ phases:
2828
# The choice of versions should be reviewed.
2929
- pyenv install 3.7.9
3030
- pyenv local 3.7.9
31-
- pip install tox tox-pyenv
31+
- pip install "tox < 4.0"
3232
- tox

codebuild/python3.8.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ phases:
1616
commands:
1717
- pyenv install 3.8.12
1818
- pyenv local 3.8.12
19-
- pip install tox tox-pyenv
19+
- pip install "tox < 4.0"
2020
- tox

codebuild/python3.9.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@ phases:
1616
commands:
1717
- pyenv install 3.9.0
1818
- pyenv local 3.9.0
19-
- pip install tox tox-pyenv
19+
- pip install "tox < 4.0"
2020
- tox

codebuild/release/prod-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
phases:
1111
install:
1212
commands:
13-
- pip install tox
13+
- pip install "tox < 4.0"
1414
- pip install --upgrade pip
1515
runtime-versions:
1616
python: latest

codebuild/release/test-release.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ env:
1010
phases:
1111
install:
1212
commands:
13-
- pip install tox
13+
- pip install "tox < 4.0"
1414
- pip install --upgrade pip
1515
runtime-versions:
1616
python: latest

codebuild/release/validate.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
phases:
1616
install:
1717
commands:
18-
- pip install tox
18+
- pip install "tox < 4.0"
1919
runtime-versions:
2020
python: latest
2121
pre_build:

src/dynamodb_encryption_sdk/__init__.py

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
# ANY KIND, either express or implied. See the License for the specific
1212
# language governing permissions and limitations under the License.
1313
"""DynamoDB Encryption Client."""
14+
import warnings
15+
1416
from dynamodb_encryption_sdk.encrypted.client import EncryptedClient
1517
from dynamodb_encryption_sdk.encrypted.item import (
1618
decrypt_dynamodb_item,
@@ -32,3 +34,10 @@
3234
"EncryptedTable",
3335
"__version__",
3436
)
37+
38+
warnings.warn(
39+
"This major version (2.x) of the AWS Encryption SDK for Python has reached End-of-Support.\n"
40+
+ "It will no longer receive security updates or bug fixes.\n"
41+
+ "Consider updating to the latest version of the AWS Encryption SDK.",
42+
DeprecationWarning,
43+
)

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__ = "2.1.0"
17+
__version__ = "2.1.1"
1818

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

0 commit comments

Comments
 (0)