[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var
STINNER Victor
report at bugs.python.org
Fri Jun 28 05:25:54 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
> With this change, only 3 tests fail on 3.7, and all these 3 fail because of zipimport: test_cmd_line_script, test_multiprocessing_main_handling and test_runpy.
These tests were fixed by:
commit a6e956bcb0edbfe7f18af9be2215a5326ea6bf05
Author: Elvis Pranskevichus <elvis at magic.io>
Date: Wed Nov 7 13:34:59 2018 -0500
bpo-34726: Fix handling of hash-based pycs in zipimport. (GH-10327)
Current support for hash-based bytecode files in `zipimport` is rather
sparse, which leads to test failures when the test suite is ran with
the ``SOURCE_DATE_EPOCH`` environment variable set.
This teaches zipimport to handle hash-based pycs properly.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34022>
_______________________________________
More information about the Python-bugs-list
mailing list