-
Notifications
You must be signed in to change notification settings - Fork 9
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
Install cryptography Python library #213
Conversation
We had this as a requirement. But it makes sense to have the role install the library without any further interaction with the user. fixes #212
It looks like the package is still named something else in Ubuntu systems. To be honest, I don't know how to proceed. It feels like the package is named differently across all supported OSes. And forcing to use Has anyone of you a better idea? |
Hmm, I checked it on different OS. As far as I can see, all newer OS use python3 and the package is available under python3-cryptography. The only one I know where python-cryptography >= 2.5 is not available within the system package manager is CentOS 7. There we will need to install it with pip. That should be convention after PEP 394 and most distributions following this recommendation except for Windows. (https://stackoverflow.com/questions/62214293/is-python3-always-installed-with-python-3) I double checked it on these OS: Debian 11 Ubuntu 20.04 Ubuntu 22.04 For older systems the user can change the package to python-cryptography instead of python3-cryptography or/and we could offer an alternative installation with pip. The installation hasn't to be system-wide if we give pip the --user parameter for installation. Am I missing something? |
I guess, you're right. I'm just living in the past.... I go for |
Looks like repositories of Rocky Linux are facing some issues right now. I'll try later and rerun the failing tests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks ok to me :)
We had this as a requirement. But it makes sense to have the role install the library without any further interaction with the user.
fixes #212