Skip to content

Commit dc5395b

Browse files
committed
chore: changelog for 1.10.0 release (#474)
1 parent aad686e commit dc5395b

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.rst

Lines changed: 7 additions & 0 deletions
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

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

3333

test/functional/test_f_aws_encryption_sdk_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -823,7 +823,7 @@ def _assert_deprecated_but_not_yet_removed(logcap, instance, attribute_name, err
823823

824824
def _assert_decrypted_and_removed(instance, attribute_name, removed_in):
825825
assert not hasattr(instance, attribute_name)
826-
assert aws_encryption_sdk.__version__ >= removed_in
826+
assert StrictVersion(aws_encryption_sdk.__version__) >= StrictVersion(removed_in)
827827

828828

829829
@pytest.mark.parametrize("attribute, no_later_than", (("body_start", "1.4.0"), ("body_end", "1.4.0")))
@@ -836,7 +836,7 @@ def test_decryptor_deprecated_attributes(caplog, attribute, no_later_than):
836836
decrypted = decryptor.read()
837837

838838
assert decrypted == plaintext
839-
if aws_encryption_sdk.__version__ < no_later_than:
839+
if StrictVersion(aws_encryption_sdk.__version__) < StrictVersion(no_later_than):
840840
_assert_deprecated_but_not_yet_removed(
841841
logcap=caplog,
842842
instance=decryptor,

0 commit comments

Comments
 (0)