Subject: Re: bug#22533: Python bytecode reproducibility

From: [email-masked] (Ludovic Courtès)
Date: Mon, 05 Mar 2018 10:25:40 +0100

Hello!

Ricardo Wurmus <[email-masked]> skribis:

> Is it a bad idea to override the timestamps in the generated binaries?
> I think that we could avoid the recency check then, which was an
> obstacle to resetting the timestamps of the source files.

I think it’s good if we can fix Python itself to honor SOURCE_DATE_EPOCH
for its timestamps, but it’s also OK to patch timestamps in generated
binaries.

We do that already in gzip headers, with ‘reset-gzip-timestamp’.

Thanks for tackling this!

Ludo’.