Bug#1120873: python-nixio: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Nov 17 20:31:19 GMT 2025


Source: python-nixio
Version: 1.5.4+dfsg-3
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-nixio could not be built reproducibly.

This is because it ships a different binary package depending on
whether the testsuite is run or not.

Specifically, it does not remove the "nixio" directory that is added
via PYBUILD_BEFORE_TEST. A patch is attached that will remove this
directory as well, but if the binary package really does need this
directory at runtime for whatever reason (e.g. for autopkgtests),
then the package needs to ensure that this directory exists regardless
of whether nocheck is specified.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-17 10:30:03.465426411 -0800
--- b/debian/rules	2025-11-17 11:18:18.424006966 -0800
@@ -10,7 +10,7 @@
 	and not test_image_with_metadata \
 	and not test_multiple_rois \
 	and not test_single_roi'
-export PYBUILD_AFTER_TEST = rm -rf {build_dir}/docs
+export PYBUILD_AFTER_TEST = rm -rf {build_dir}/docs {build_dir}/nixio
 
 %:
 	dh $@ --buildsystem=pybuild


More information about the Reproducible-bugs mailing list