[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2019-06-28 Thread STINNER Victor
STINNER Victor 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

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-28 Thread STINNER Victor
STINNER Victor added the comment: > New changeset 24b51b1a4919e310d338629cc60371387f475a32 by Miss Islington > (bot) in branch '3.7': 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

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-28 Thread miss-islington
miss-islington added the comment: New changeset 24b51b1a4919e310d338629cc60371387f475a32 by Miss Islington (bot) in branch '3.7': bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-28 Thread STINNER Victor
STINNER Victor added the comment: test_compileall, test_importlib, test_py_compile: I created https://github.com/python/cpython/pull/10775 backport. test_cmd_line_script, test_runpy and test_multiprocessing_main_handling failures are related to zipimport. They have been fixed in master by

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-28 Thread miss-islington
Change by miss-islington : -- pull_requests: +10018 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Got it. Thanks for the pointer. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: "What’s New In Python 3.7" mentions twice "build reproducibility": https://docs.python.org/dev/whatsnew/3.7.html -- ___ Python tracker ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: Looks like in https://github.com/python/cpython/pull/10327, Serhiy Storchaka considers fixing these issues for 3.8 only - "It is easier to skip the test on 3.7." and then remove the "needs backport to 3.7" label. How about changing the target version to 3.8

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread STINNER Victor
STINNER Victor added the comment: > As https://github.com/python/cpython/pull/10327 has been merged, I think this > issue can be closed? The Versions field of this issue is set to Python 3.7, but 7 tests are failing with: $ SOURCE_DATE_EPOCH=0 ./python -m test -j0 -r -u all,-gui (...) 7

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-27 Thread Chih-Hsuan Yen
Chih-Hsuan Yen added the comment: As https://github.com/python/cpython/pull/10327 has been merged, I think this issue can be closed? -- ___ Python tracker ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-04 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: https://github.com/python/cpython/pull/10327 fixes the remaining test failures. -- ___ Python tracker ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-11-04 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +9630 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-10-16 Thread STINNER Victor
STINNER Victor added the comment: There are still tests which fail when SOURCE_DATE_EPOCH env var is defined: $ SOURCE_DATE_EPOCH=0 ./python -m test -j0 -r (...) 3 tests failed: test_cmd_line_script test_multiprocessing_main_handling test_runpy (...) --

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6b3ec5b6d4f6387820fccc570eea08b9615620d by Victor Stinner (Elvis Pranskevichus) in branch 'master': bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-28 Thread STINNER Victor
STINNER Victor added the comment: > https://github.com/python/cpython/pull/9607 turns SOURCE_DATE_EPOCH into a > *default* rather than absolute override. Once we decided to merge or reject this PR, we should maybe update the PEP 552 to clarify the interaction with the SOURCE_DATE_EPOCH

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-27 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: https://github.com/python/cpython/pull/9607 turns SOURCE_DATE_EPOCH into a *default* rather than absolute override. test_cmd_line_script and test_runpy fail due to the lack of support for hash-based .pycs in zipimport, which needs fixing also.

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-27 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +9004 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-26 Thread Eli Schwartz
Change by Eli Schwartz : -- nosy: +eschwartz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-21 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: Perhaps SOURCE_DATE_EPOCH should only be consulted to determine the default behavior if invalidation_mode was not passed explicitly to py_compile.compile(). -- ___ Python tracker

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-21 Thread Benjamin Peterson
Benjamin Peterson added the comment: I dislike that having SOURCE_DATE_EPOCH set magically changes command line tools behavior. In my view, this problem should be fixed by reverting ccbe5818af2. -- nosy: +benjamin.peterson ___ Python tracker

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-21 Thread Elvis Pranskevichus
Elvis Pranskevichus added the comment: > In particular, if a build system sets SOURCE_DATE_EPOCH without specifying a pyc format for py_compile or compileall, Python 3.7 will give you checked hashes by default Actually, py_compile will _force_ the CHECKED_HASH mode if SOURCE_DATE_EPOCH is

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-09-21 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- keywords: +patch pull_requests: +8894 stage: -> patch review ___ Python tracker ___ ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-08-03 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- nosy: +yan12125 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-17 Thread Alexander Mohr
Alexander Mohr added the comment: we're compiling similar to debian and getting the same issues now only with 3.7 so interested in what the resolution is. I tried both w/ and w/o setting SOURCE_DATE_EPOCH and still get failures. -- nosy: +thehesiod

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-04 Thread Matej Cepl
Matej Cepl added the comment: >From https://mail.python.org/pipermail/python-dev/2018-July/154273.html (by Nick Coghlan): In particular, if a build system sets SOURCE_DATE_EPOCH without specifying a pyc format for py_compile or compileall, Python 3.7 will give you checked hashes by default:

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: See bpo-29708 and PEP 552 for more info about reproducible builds. -- ___ Python tracker ___ ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: FAIL: test_invalidation_mode (test.test_py_compile.PyCompileTests) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.7.0/Lib/test/test_py_compile.py", line