-
Notifications
You must be signed in to change notification settings - Fork 89
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
community.crypto.openssl_privatekey module also needs 'cffi' #804
Comments
Some more details: I am calling the Here is the ansible-playbook -vvv output
Per that output, it is executing pip list, when the error occurred
After installing pip install cffi, and re-run playbook
|
The module only needs cryptography. cffi is a transitive dependency needed by cryptography: https://github.com/pyca/cryptography/blob/main/pyproject.toml#L52 |
@felixfontein Thanks for the response! What do you think then is the "proper" course of action for me? This has already been filed as a bug with the Is the requirement basically, "ensure you have |
The issue you are linking is about PyPy (another Python engine), not PyPI (the Python package index). If you install cryptography via pip (or any other proper resolver) for CPython (or in fact any other Python engine than PyPy), cffi should also be installed since cffi is a dependency of cryptography. (Your Python from If you have cryptography installed but not cffi, then your environment is broken. |
Gotcha lol, thanks for correcting my misunderstanding on the PyPy vs. PyPi 😄
This is a pretty standard install of the Some details:
Not being quite this level of Python expert, the |
This is likely the cause for your problem. It's kind of strange that Python 3.10 and 3.11 use the same modules directory ( |
SUMMARY
The
community.crypto.openssl_privatekey
module also requires thecffi
package, however the documentation only listscryptography
as a dependency.ISSUE TYPE
COMPONENT NAME
community.crypto.openssl_privatekey
ANSIBLE VERSION
The text was updated successfully, but these errors were encountered: