[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread Xavier de Gaye
Xavier de Gaye added the comment: Thanks Victor for the refactoring of setup.py. That was badly needed indeed. -- ___ Python tracker ___ __

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread STINNER Victor
STINNER Victor added the comment: Xavier de Gaye: Oops! I also saw such errors but I didn't understand them. Thanks for the fix! I wrote PR 12750 to fix another minor issue which isn't directly related to your fix (nor to my previous refactoring). -- ___

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +12677 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread Xavier de Gaye
Change by Xavier de Gaye : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue36544] cannot import hashlib when openssl is missing

2019-04-09 Thread miss-islington
miss-islington added the comment: New changeset 2ee077f7955e0349074f16a7afee40b4914619f7 by Miss Islington (bot) (xdegaye) in branch 'master': bpo-36544 : Fix regression introduced in bpo-36146 (GH-12708) https://github.com/python/cpython/commit/2ee077f7955e0349074f16a7afee40b4914619f7

[issue36544] cannot import hashlib when openssl is missing

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye 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@e4cfd6f74c2b:~$ git clo

[issue36544] cannot import hashlib when openssl is missing

2019-04-07 Thread Xavier de Gaye
Xavier de Gaye added the comment: Steps to reproduce (requires docker support, about 500 MB and only few minutes): 1. Create the file named 'Dockerfile' whose content is: FROM ubuntu RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Change by Xavier de Gaye : -- keywords: +patch pull_requests: +12632 stage: needs patch -> patch review ___ Python tracker ___ ___ P

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: Working on a PR -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
Xavier de Gaye added the comment: Changeset 5ec33a1c25a586552751ca35c85ab7ecb6b06ec3 appends to the new detect_openssl_hashlib() method, the detection for the _sha256, _sha512, _md5, ... extension modules. These modules were detected unconditionnaly before this change and are not detected an

[issue36544] cannot import hashlib when openssl is missing

2019-04-06 Thread Xavier de Gaye
New submission from Xavier de Gaye : Python is built natively in a docker container (based on ubuntu bionic) that lacks openssl. pydev@979e9e009b08:~/build/python-native$ ./python Python 3.8.0a3+ (heads/master-dirty:d6bf6f2, Apr 6 2019, 14:43:30) [GCC 7.3.0] on linux Type "help", "copyright",