Skip to content

chore: changelog for 1.10.0 release #474

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
Changelog
*********

1.10.0 -- 2022-06-20
====================

Maintenance
-----------
* Pin ``cryptography`` to last version that supports Python2

1.9.0 -- 2021-05-27
===================

Expand Down
2 changes: 1 addition & 1 deletion src/aws_encryption_sdk/identifiers.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# We only actually need these imports when running the mypy checks
pass

__version__ = "1.9.0"
__version__ = "1.10.0"
USER_AGENT_SUFFIX = "AwsEncryptionSdkPython/{}".format(__version__)


Expand Down
5 changes: 3 additions & 2 deletions test/functional/test_f_aws_encryption_sdk_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import io
import logging
from distutils.version import StrictVersion

import attr
import botocore.client
Expand Down Expand Up @@ -823,7 +824,7 @@ def _assert_deprecated_but_not_yet_removed(logcap, instance, attribute_name, err

def _assert_decrypted_and_removed(instance, attribute_name, removed_in):
assert not hasattr(instance, attribute_name)
assert aws_encryption_sdk.__version__ >= removed_in
assert StrictVersion(aws_encryption_sdk.__version__) >= StrictVersion(removed_in)


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

assert decrypted == plaintext
if aws_encryption_sdk.__version__ < no_later_than:
if StrictVersion(aws_encryption_sdk.__version__) < StrictVersion(no_later_than):
_assert_deprecated_but_not_yet_removed(
logcap=caplog,
instance=decryptor,
Expand Down