Bug#1120632: python-ciso8601: please make the build reproducible
Chris Lamb
lamby at debian.org
Thu Nov 13 16:40:00 GMT 2025
Source: python-ciso8601
Version: 2.3.3-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-ciso8601 could not be built reproducibly.
This is because the binary differs depending on whether the tests
are run or not. Specifically, it ships a generate_test_timestamps.py
file, but only if the tests are run.
Patch attached.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2025-11-13 08:17:18.234795796 -0800
--- b/debian/rules 2025-11-13 08:21:12.857175383 -0800
@@ -8,6 +8,7 @@
export PYBUILD_NAME=ciso8601
export PYBUILD_BEFORE_TEST=cp generate_test_timestamps.py {build_dir}
+export PYBUILD_AFTER_TEST=rm {build_dir}/generate_test_timestamps.py
%:
dh $@ --buildsystem pybuild
More information about the Reproducible-bugs
mailing list