Bug#1122999: python-pyshortcuts: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Dec 15 19:12:09 GMT 2025
Source: python-pyshortcuts
Version: 1.9.5-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: nocheck
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
python-pyshortcuts could not be built reproducibly.
This is because the testsuite generated a status.json file which ended
up being shipped with the binary .deb. This meant therefore that if
the tests were skipped, the package would not include this file.
Patch attached that removes this file after running the tests; it's
likely not needed at runtime.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-12-15 10:26:23.046346272 -0800
--- b/debian/rules 2025-12-15 10:38:26.697093898 -0800
@@ -1,5 +1,7 @@
#!/usr/bin/make -f
+export PYBUILD_AFTER_TEST=rm -fv {build_dir}/htmlcov/status.json
+
%:
dh $@ --buildsystem=pybuild
More information about the Reproducible-bugs
mailing list