[issue36544] cannot import hashlib when openssl is missing
Xavier de Gaye
report at bugs.python.org
Sun Apr 7 07:21:49 EDT 2019
Xavier de Gaye <xdegaye at gmail.com> added the comment:
Check that PR 12708 fixes the bug:
Run the ubuntu:bpo-36544 image and enters bash as user pydev
$ docker run -it ubuntu:bpo-36544
As user pydev, clone python and fetch PR 12708, build python and import hashlib:
pydev at e4cfd6f74c2b:~$ git clone -b master --single-branch --depth 1 https://github.com/python/cpython.git
pydev at e4cfd6f74c2b:~$ cd cpython/ && ./configure && make
pydev at e4cfd6f74c2b:~/cpython$ git fetch --depth 1 origin pull/12708/head:pr_12708 && git checkout pr_12708
pydev at e4cfd6f74c2b:~/cpython$ make
pydev at e4cfd6f74c2b:~/cpython$ ./python -c "import hashlib"
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36544>
_______________________________________
More information about the Python-bugs-list
mailing list