Bug#1129544: python-nxtomomill: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Mar 2 18:10:27 GMT 2026


Source: python-nxtomomill
Version: 2.0.1-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-nxtomomill could not be built reproducibly.

This is because the package differs depending on whether the tests
are run or not. Specifically, the presence of a handful of .cfg
files, as well as the varying timestamps of some __init__.py files.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-03-02 09:11:30.257637275 -0800
--- b/debian/rules	2026-03-02 10:07:00.705169499 -0800
@@ -5,7 +5,7 @@
 
 # For some reason, even with a pybuild.testfiles, not all files are copied
 execute_before_dh_auto_test:
-	for i in .pybuild/cpython3_* ; do cp -a nxtomomill/tests/resources $$i/build/nxtomomill/tests/ ; done
+	for i in .pybuild/cpython3_* ; do cp -r nxtomomill/tests/resources $$i/build/nxtomomill/tests/ ; done
 
 execute_after_dh_auto_install:
-	find debian -name conf.py -delete
+	find debian \( -name conf.py -or -name '*.cfg' \) -delete


More information about the Reproducible-bugs mailing list