[issue45344] Have zipapp respect SOURCE_DATE_EPOCH

Nate Woods report at bugs.python.org
Fri Oct 1 20:10:31 EDT 2021


New submission from Nate Woods <big.nate.w at gmail.com>:

I have a small patch that would make zipapp respect SOURCE_DATE_EPOCH.  This will ensure the zip bundles created by zipapp have consistent hashes regardless of when the source files were last touched.  This idea came to my attention recently when I came across: https://reproducible-builds.org/

I can convert my changes to a PR if it's deemed interesting or useful, but I would like to respect the core maintainers time.  Please let me know if these changes are not desired or not worth while and I'll seek to find somewhere else to put them.

Also, I'm completely new here, so I apologize if there is anything I'm doing against protocol. I didn't find any issues in the tracker pertaining to this, and it seemed small and contained enough to be something I could try out.

Hopefully this issue finds the maintainers well.

----------
components: Library (Lib)
files: zipapp-respect-source-date-epoch.patch
keywords: patch
messages: 403041
nosy: bign8
priority: normal
severity: normal
status: open
title: Have zipapp respect SOURCE_DATE_EPOCH
type: enhancement
versions: Python 3.11
Added file: https://bugs.python.org/file50320/zipapp-respect-source-date-epoch.patch

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45344>
_______________________________________


More information about the Python-bugs-list mailing list