Source: python-iso8601 Version: 1.0.2-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-iso8601 could not be built reproducibly. This is because it did not clean up some pytest cache directories properly under .pybuild/ and then that got installed into the binary package. A patch to this package is attached, although the bug might really be in pytest itself; I defer to your judgement. :) [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/debian/rules 2022-04-27 10:44:36.901334155 -0700 --- b/debian/rules 2022-04-27 10:49:32.975212375 -0700 @@ -4,3 +4,6 @@ %: dh $@ --buildsystem=pybuild --with python3 + +execute_after_dh_auto_test: + find -type d -name .pytest_cache -print0 | xargs -0r rm -rfv