[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson

Benjamin Peterson  added the comment:


New changeset 6b2bbcc4cca414f35f67caa4674f59f41ff638ea by Benjamin Peterson 
(Miss Islington (bot)) in branch '3.6':
closes bpo-32721: do not fail test_hashlib if _md5 isn't available (GH-5441) 
(GH-5442)
https://github.com/python/cpython/commit/6b2bbcc4cca414f35f67caa4674f59f41ff638ea


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread miss-islington

Change by miss-islington :


--
pull_requests: +5274

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson

Benjamin Peterson  added the comment:


New changeset 95441809ef77a8df5e14601ade6c054ef7114c02 by Benjamin Peterson in 
branch 'master':
closes bpo-32721: do not fail test_hashlib if _md5 isn't available (GH-5441)
https://github.com/python/cpython/commit/95441809ef77a8df5e14601ade6c054ef7114c02


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson

Change by Benjamin Peterson :


--
keywords: +patch
pull_requests: +5273
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue32721] test_hashlib fails if _md5 is not built

2018-01-29 Thread Benjamin Peterson

New submission from Benjamin Peterson :

$ make
$ rm build/lib.linux-x86_64-3.7/_md5.cpython-37m-x86_64-linux-gnu.so 
$ ./python -m test test_hashlib
Run tests sequentially
0:00:00 load avg: 1.11 [1/1] test_hashlib
ERROR:root:code for hash md5 was not found.
Traceback (most recent call last):
  File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 243, in 
globals()[__func_name] = __get_hash(__func_name)
  File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 113, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5
/home/benjamin/dev/python/cpython/Lib/test/test_hashlib.py:90: UserWarning: Did 
a C extension fail to compile? No module named '_md5'
  warnings.warn('Did a C extension fail to compile? %s' % error)
Warning -- logging._handlerList was modified by test_hashlib
  Before: (139817255081928, [, ], [])
  After:  (139817255081928, [, ], [, ]) 
test test_hashlib failed -- Traceback (most recent call last):
  File "/home/benjamin/dev/python/cpython/Lib/test/test_hashlib.py", line 209, 
in test_get_builtin_constructor
constructor = get_builtin_constructor('md5')
  File "/home/benjamin/dev/python/cpython/Lib/hashlib.py", line 113, in 
__get_builtin_constructor
raise ValueError('unsupported hash type ' + name)
ValueError: unsupported hash type md5

test_hashlib failed

1 test failed:
test_hashlib

Total duration: 397 ms
Tests result: FAILURE

--
components: Build
messages: 311233
nosy: benjamin.peterson
priority: normal
severity: normal
status: open
title: test_hashlib fails if _md5 is not built
versions: Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com