This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Elvis.Pranskevichus
Recipients Elvis.Pranskevichus, doko, mcepl, serhiy.storchaka, thehesiod, vstinner, yan12125
Date 2018-09-21.22:49:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> 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 set, regardless of what you specified for py_compile or compileall.  I'm not sure if that's actually intended or a bug.

The fix for the tests is to actually be aware of py_compile behavior and control for SOURCE_DATE_EPOCH.  I submitted a PR with a fix.
History
Date User Action Args
2018-09-21 22:49:10Elvis.Pranskevichussetrecipients: + Elvis.Pranskevichus, doko, vstinner, mcepl, serhiy.storchaka, thehesiod, yan12125
2018-09-21 22:49:10Elvis.Pranskevichussetmessageid: <[email protected]>
2018-09-21 22:49:10Elvis.Pranskevichuslinkissue34022 messages
2018-09-21 22:49:10Elvis.Pranskevichuscreate