Bug#1133958: python-observabilityclient: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Apr 15 21:11:03 BST 2026


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

This is because the /usr/bin/aodh binary is deleted, but only if the
tests are run. This means that if the tests are not run (ie. via
nocheck) then the package will ship this file: it is therefore not
reproducible.

Patch attached that deletes the aodh binary regardless of whether
the tests are run or not. (It is evidently not generated only if
the tests are run, if you know what I mean.)

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-04-15 12:57:11.058200697 -0700
--- b/debian/rules	2026-04-15 13:09:09.218119124 -0700
@@ -21,8 +21,8 @@
 	set -e ; for pyvers in $(PYTHON3S); do \
 		python$$pyvers -m pytest observabilityclient/tests/unit -v ; \
 	done
-	rm -f $(CURDIR)/debian/tmp/usr/bin/aodh
 endif
+	rm -f $(CURDIR)/debian/tmp/usr/bin/aodh
 
 override_dh_auto_test:
 	echo "Do nothing..."


More information about the Reproducible-bugs mailing list