Skip to content

Commit 97ae348

Browse files
committed
chore: changelog for 1.10.0 release
1 parent aad686e commit 97ae348

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

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: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
from cryptography.hazmat.backends import default_backend
2424
from cryptography.hazmat.primitives import hashes, serialization
2525
from cryptography.hazmat.primitives.asymmetric import padding
26+
from distutils.version import StrictVersion
2627
from mock import MagicMock
2728
from wrapt import ObjectProxy
2829

@@ -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)