Source: python-biom-format Version: 2.1.9-1 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: randomness X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0] we noticed that python-biom-format could not be built reproducibly. This is because it ships a test ".coverage" file in the binary, and these files are unreproducible. The "package-contains-python-coverage-file" Lintian tag should have been triggered for this. Patch attached. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2020-11-08 12:26:02.685952055 +0000 --- b/debian/rules 2020-11-08 12:30:19.221524553 +0000 @@ -10,6 +10,7 @@ export examplepkg=python-$(PYBUILD_NAME)-examples export PYBUILD_AFTER_INSTALL_python3=dh_numpy3 export PYBUILD_BEFORE_TEST=cp -r {dir}/examples {build_dir} +export PYBUILD_AFTER_TEST=find -name .coverage -delete ## When trying better hardening the build fails # export DEB_BUILD_MAINT_OPTIONS = hardening=+all