cpython/Misc/NEWS.d
Elvis Pranskevichus a6b3ec5b6d bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)
Unconditional forcing of ``CHECKED_HASH`` invalidation was introduced in
3.7.0 in bpo-29708.  The change is bad, as it unconditionally overrides
*invalidation_mode*, even if it was passed as an explicit argument to
``py_compile.compile()`` or ``compileall``.  An environment variable
should *never* override an explicit argument to a library function.
That change leads to multiple test failures if the ``SOURCE_DATE_EPOCH``
environment variable is set.

This changes ``py_compile.compile()`` to only look at
``SOURCE_DATE_EPOCH`` if no explicit *invalidation_mode* was specified.
I also made various relevant tests run with explicit control over the
value of ``SOURCE_DATE_EPOCH``.

While looking at this, I noticed that ``zipimport`` does not work
with hash-based .pycs _at all_, though I left the fixes for
subsequent commits.
2018-10-10 18:43:14 +02:00
..
next bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607) 2018-10-10 18:43:14 +02:00
3.5.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0a1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.0a2.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.0a3.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.0a4.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.0b1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0b4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.0rc4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.1rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.2rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.3rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.4rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.5.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.5.5rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0a1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.0a2.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.0a3.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.0a4.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.0b1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.0b2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0b4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.0rc2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.1rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.2rc2.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.3.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.3rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.4.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.4rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.6.5.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.5rc1.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.6.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.6.6rc1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0.rst Forward port 3.7.0 final changes 2018-06-27 18:45:50 -04:00
3.7.0a1.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0a2.rst Fix spaces added after hyphens in news entries. (GH-7579) 2018-06-10 09:46:50 +03:00
3.7.0a3.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0a4.rst bpo-32327: Revert loop.run_in_executor behaviour: return a Future. (#5392) 2018-01-28 14:09:40 -05:00
3.7.0b1.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b2.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0b3.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0b4.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00
3.7.0b5.rst bpo-34906: Doc: Fix typos (2) (GH-9735) 2018-10-06 16:35:53 +02:00
3.7.0rc1.rst Forward port rest of NEWS changes as of 3.7.0 2018-06-28 04:18:35 -04:00