Skip to content

Commit 4b8794e

Browse files
authored
chore: changelog for 1.10.0 release (#474)
1 parent aad686e commit 4b8794e

File tree

3 files changed

+11
-3
lines changed

3 files changed

+11
-3
lines changed

Diff for: CHANGELOG.rst

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

5+
1.10.0 -- 2022-06-20
6+
====================
7+
8+
Maintenance
9+
-----------
10+
* Pin ``cryptography`` to last version that supports Python2
11+
512
1.9.0 -- 2021-05-27
613
===================
714

Diff for: src/aws_encryption_sdk/identifiers.py

+1-1
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__ = "1.9.0"
30+
__version__ = "1.10.0"
3131
USER_AGENT_SUFFIX = "AwsEncryptionSdkPython/{}".format(__version__)
3232

3333

Diff for: test/functional/test_f_aws_encryption_sdk_client.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515

1616
import io
1717
import logging
18+
from distutils.version import StrictVersion
1819

1920
import attr
2021
import botocore.client
@@ -823,7 +824,7 @@ def _assert_deprecated_but_not_yet_removed(logcap, instance, attribute_name, err
823824

824825
def _assert_decrypted_and_removed(instance, attribute_name, removed_in):
825826
assert not hasattr(instance, attribute_name)
826-
assert aws_encryption_sdk.__version__ >= removed_in
827+
assert StrictVersion(aws_encryption_sdk.__version__) >= StrictVersion(removed_in)
827828

828829

829830
@pytest.mark.parametrize("attribute, no_later_than", (("body_start", "1.4.0"), ("body_end", "1.4.0")))
@@ -836,7 +837,7 @@ def test_decryptor_deprecated_attributes(caplog, attribute, no_later_than):
836837
decrypted = decryptor.read()
837838

838839
assert decrypted == plaintext
839-
if aws_encryption_sdk.__version__ < no_later_than:
840+
if StrictVersion(aws_encryption_sdk.__version__) < StrictVersion(no_later_than):
840841
_assert_deprecated_but_not_yet_removed(
841842
logcap=caplog,
842843
instance=decryptor,

0 commit comments

Comments
 (0)