Source: python-observabilityclient
Version: 1.3.0-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-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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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..."

Reply via email to