Bug#1120066: python-gffutils: please make the build reproducible

Chris Lamb lamby at debian.org
Tue Nov 4 18:56:24 GMT 2025


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

This is because it generates different content in the binary file
depending on whether the tests are run. In particular, the tests
leave around this file:

   /usr/lib/python3/dist-packages/gffutils/test/data/FBgn0031208.gtf.db

Patch attached that expands the existing cleanup after calling
dh_install, but there are likely other solutions.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-04 10:52:26.223321734 -0800
--- b/debian/rules	2025-11-04 10:54:37.973815723 -0800
@@ -63,4 +63,4 @@
 override_dh_install:
 	dh_install
 	find debian -name "*.bak" -delete
-	find debian -name "issue_*.db" -delete
+	find debian -name "*.db" -delete


More information about the Reproducible-bugs mailing list