-
Notifications
You must be signed in to change notification settings - Fork 344
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
TO Postinstall: AttributeError: module 'hashlib' has no attribute 'scrypt' #6285
Comments
According to the |
But it is Python 3.6
|
You're right that the opportunity to include #if (OPENSSL_VERSION_NUMBER > 0x10100000L && !defined(OPENSSL_NO_SCRYPT) && !defined(LIBRESSL_VERSION_NUMBER))
PyDoc_STRVAR(_hashlib_scrypt__doc__,
"scrypt($module, /, password, *, salt=None, n=None, r=None, p=None,\n" Because Python 3.6 does not assume that |
Oh, okay, that makes more sense, since I was pretty sure it was Python 3.6 since the last time I looked - which was a while ago so it would be weird for the version to have gone down in the meantime. Honestly supporting unmaintained versions of OpenSSL doesn't sound any better (potential security problem?), and OpenSSL versions prior to |
This Bug Report affects these Traffic Control components:
Current behavior:
Python Postinstall fails on CentOS 7 if Python 3 is installed (but succeeds if Python 3 is not installed, because it will use Python 2).
Originally reported by @rsidhaarth in the first draft of #6236.
Expected behavior:
the Python Postinstall script should succeed on CentOS 7, with or without Python 3.
Steps to reproduce:
Output:
The text was updated successfully, but these errors were encountered: