Source: python-nixio
Version: 1.5.4+dfsg-3
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: nocheck
X-Debbugs-Cc: [email protected]

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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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

Reply via email to