-
Notifications
You must be signed in to change notification settings - Fork 163
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
Contract tests failing with error "cannot import name 'verify_interface' from 'cryptography.utils' (/var/task/cryptography/utils.py)^MTraceback (most recent call last):" #981
Comments
Are you working on a python based extension? |
You can force a version of |
yes, I am using python based extension. Forcing a lower version in |
I'm glad you are unblocked. @kurdekar when we release the newer version of the python plugin you won't have to pin anymore so this is a workaround. |
This also appears to impact CloudFormation Hooks. While I'm able to package them successfully with
|
@kurdekar @colonmelvin on the current workaround (that @kddejong mentioned above): I saw this newly-merged PR that took a new course (unpinning the version for |
Hi @kurdekar @colonmelvin @kddejong - both the Python plugin and lib are now updated - you should be able to update them on your machines using
You should be able to remove the additional line in the |
Awesome, thanks @mrinaudo-aws! Will give this a go once I'm back in the office next week. |
The release should have resolved the dependency issue @colonmelvin ! Will close this issue out but please reopen if you are still blocked! |
Just confirming all is working well now, I've removed the pinned version |
Contract tests are failing with below error:
[ERROR] Runtime.ImportModuleError: Unable to import module 'cfnregistryresource.handlers': cannot import name 'verify_interface' from 'cryptography.utils' (/var/task/cryptography/utils.py)^MTraceback (most recent call last):
This was working fine until Thursday 23rd March. There are other CloudFormation custom resources that were created prior to this date are also working fine.
I do not see a 'verify_interface' function in the file ./build/cryptography/utils.py for this resource. However, other resources created before yesterday have this function available in utils.py
All new builds since Friday are failing. I have setup a new build environment and also tried the workaround here: SecurityInnovation/PGPy#402.
The text was updated successfully, but these errors were encountered: