Source: tpot
Version: 0.11.5+dfsg-2
Severity: wishlist
Tags: patch
User: reproducible-bui...@lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
tpot could not be built reproducibly.
This is because it ships progress_verbose_1.log and
progress_verbose_2.log under /usr/lib/python3* and the second of these
is not reproducible.
Patch attached that does not ship these files - we probably should not
be shipping logfiles into this directory anyway. I note that you
already prevent a similar test being run with a --exclude argument to
nose(1) but I wasn't sure why you were doing that so did not extend
that to the tests that generate the above files.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` la...@debian.org / chris-lamb.co.uk
`-
--- a/debian/rules 2020-08-17 11:23:32.101143990 +0100
--- b/debian/rules 2020-08-17 11:37:15.354949925 +0100
@@ -33,6 +33,10 @@
cp -r images docs/
sed -i -e 's,$(url_strip),,' docs/index.html
+override_dh_auto_install:
+ dh_auto_install
+ rm -f debian/python3-tpot/usr/lib/python3*/dist-packages/*.log
+
override_dh_installdocs:
dh_installdocs --package=python-tpot-doc --doc-main-package=python3-tpot
dh_installdocs --remaining-packages