Bug#1123664: zope.deferredimport: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Dec 19 16:26:55 GMT 2025
Source: zope.deferredimport
Version: 6.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
zope.deferredimport could not be built reproducibly.
This is because the testsuite regenerates a number of samples, and these
generated files differ from the ones that ship with the source package.
This means that if the tests are skipped, the binary pacakge contains
slightly different contents.
To fix this, I've attached a patch that prevents these sample files being
distributed in the binary package completely; at a quick glance, they
seem to be generated from docstrings in the documentation and aren't meant
to be actually used or even read 'standalone'... but I'm sure as
maintainer you will have a better handle on this.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-19 08:10:06.686660533 -0800
--- b/debian/rules 2025-12-19 08:18:03.483101332 -0800
@@ -8,3 +8,6 @@
%:
dh $@ --buildsystem=pybuild
+
+execute_before_dh_auto_install:
+ rm -rf .pybuild/*/build/zope/deferredimport/samples/
More information about the Reproducible-bugs
mailing list