Bug#1001227: locust: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 6 17:46:39 GMT 2021


Source: locust
Version: 1.4.3-2
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: randomness
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

Hi,

Whilst working on the Reproducible Builds effort [0] we noticed that
locust could not be built reproducibly.

This is because it ships .pyc files in the examples/ directory. You
almost certainly don't want to do this anyway, so a patch is attached
that does not ship these.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2021-12-06 09:41:15.485749635 -0800
--- b/debian/rules	2021-12-06 09:45:24.193655462 -0800
@@ -19,3 +19,6 @@
 
 override_dh_auto_test:
 	-PYBUILD_SYSTEM=custom PYBUILD_TEST_ARGS="PYTHONPATH={build_dir} {interpreter} -m pytest -v" dh_auto_test
+
+override_dh_installexamples:
+	dh_installexamples -X.pyc


More information about the Reproducible-bugs mailing list