Bug#1053353: dacite: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Oct 2 13:29:34 BST 2023
Source: dacite
Version: 1.8.1-1
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
dacite could not be built reproducibly.
This is because it shipped a bunch of nondeterminstic ~temporary build
files in the binary package, such as benchmarks (in addition to
benchmark.json) and test caches.
Patch attached that removes them in a way paralleling the existing
removal method in debian/rules.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2023-10-02 14:23:18.762168493 +0200
--- b/debian/rules 2023-10-02 14:27:11.902512609 +0200
@@ -7,3 +7,5 @@
override_dh_auto_install:
dh_auto_install
rm debian/python3-dacite/usr/lib/python3*/dist-packages/benchmark.json
+ rm -rf debian/python3-dacite/usr/lib/python3*/dist-packages/.benchmarks
+ rm -rf debian/python3-dacite/usr/lib/python3*/dist-packages/.pytest_cache
More information about the Reproducible-bugs
mailing list