Bug#1132508: python-bayespy: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 1 21:29:30 BST 2026


Source: python-bayespy
Version: 0.6.4+ds-1
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: timestamps
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
python-bayespy could not be built reproducibly.

This was because the package generated an .egg-info directory under
/usr/lib/python3/dist-packages, for example:

   /usr/lib/python3/dist-packages/bayespy-0.6.4.dev20260331.egg-info

.. which encodes the current build date (eg. "20260331")

Patch attached that deletes this .egg-info directory, which is not very
useful in the binary package.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-04-01 11:18:25.734265553 -0700
--- b/debian/rules	2026-04-01 11:25:05.175555144 -0700
@@ -8,3 +8,6 @@
 
 %:
 	dh $@ --buildsystem=pybuild
+
+execute_after_dh_auto_install:
+	rm -rf debian/python3-bayespy/usr/lib/python*/dist-packages/*.egg-info


More information about the Reproducible-bugs mailing list