Source: q2-demux
Version: 2026.10.0+dfsg-1
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
q2-demux could not be built reproducibly.

This is because runnig the testsuite leaves a dist/bundle.js that ends
up in the binary package, meaning that if the tests are skipped (ie.
with 'nocheck') then this file is missing and the package is therefore
unreproducible.

Patch attached that removes this file within dh_auto_test. However, if
the package actually needs this file at runtime or autopkgtest time,
then the packaging will need to rejiggering to ensure it is always
created.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- a/debian/rules      2026-11-30 20:24:51.798029463 +0000
--- b/debian/rules      2026-11-30 20:58:40.925172731 +0000
@@ -59,6 +59,7 @@
                [ "$${new}" = 1 ] || break; \
            done; \
            $${py} -m pytest -v --cov=$(pkg) "$${ignores[@]}"; \
+           rm -f q2_demux/_summarize/assets/dist/bundle.js; \
            cd $(CURDIR); \
        done
 endif

Reply via email to