Bug#1027992: towncrier: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Jan 5 17:28:04 GMT 2023
Source: towncrier
Version: 21.9.0-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
towncrier could not be built reproducibly.
This is because the testsuite generates a bunch of Python modules with
nondeterminstic contents, which then get installed into the binary
package.
Patch attached that cleans these up after running the tests.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-01-05 17:19:29.738137407 +0000
--- b/debian/rules 2023-01-05 17:26:37.048270769 +0000
@@ -39,3 +39,6 @@
# mode: makefile
# End:
# vim: fileencoding=utf-8 filetype=make :
+
+execute_after_dh_auto_test:
+ rm -rf .pybuild/*/build/towncrier.test.*
More information about the Reproducible-bugs
mailing list