-
Notifications
You must be signed in to change notification settings - Fork 48
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
dependency aws-encryption-sdk v3.1.0 uses incompatible downstream dependency (cryptography >=40) #255
Comments
Is there an easy way around this while we wait for the fix to be merged? |
@kremerpatrick - you can add |
That worked, thank you! |
Hi @jsonmart and @kremerpatrick - new versions of the plugin and the lib, |
That worked, thanks! |
aws-encryption-sdk v3.1.0 (python hook runtime dependency) has a dependency on cryptogrpahy>2.5 (see https://github.com/aws/aws-encryption-sdk-python/blob/7950abd73ee333407d2dadd02ef2d57c3df464cf/requirements.txt#L2). This causes python hooks to be bundled with the latest version of cryptography (40.0.1), however the cryptography package has recently fully deprecated a method used by aws-encryption-sdk v3.1.0 (
utils.verify_instance
). This is resulting in a runtime exception for python hooks bundled with cloudformation-cli-python-lib v2.1.15:aws-encryption-sdk v3.1.1 no longer uses the
verify_instance
method and looks like it could be a suitable replacement (see: https://github.com/aws/aws-encryption-sdk-python/releases/tag/v3.1.1).The text was updated successfully, but these errors were encountered: