Bug#1120342: python-django-waffle: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 7 19:28:34 GMT 2025


Source: python-django-waffle
Version: 4.2.0-1
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-django-waffle could not be built reproducibly.

This is because it ships different files depending on whether the
testsuite is run or not.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-07 10:49:13.818576353 -0800
--- b/debian/rules	2025-11-07 11:27:31.714667863 -0800
@@ -6,6 +6,7 @@
 export PYBUILD_NAME=django-waffle
 export PYBUILD_BEFORE_TEST=cp -r {dir}/test_settings.py {dir}/test_app {build_dir}
 export PYBUILD_AFTER_TEST=rm -rf {build_dir}/test_settings.py {build_dir}/test_app
+export PYBUILD_AFTER_BUILD=rm -rf {build_dir}/test_app
 
 %:
 	dh $@ --with python3,sphinxdoc --buildsystem=pybuild


More information about the Reproducible-bugs mailing list