Bug#1026381: python-django-health-check: please make the build reproducible

Chris Lamb lamby at debian.org
Mon Dec 19 10:02:05 GMT 2022


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

This is at root because you ship a .coverage file, but also because
the rm(1) call doesn't actually delete it:

    rm -f debian/*/usr/lib/python3/dist-packages/.coverage

A patch is attached that adjusts this to:

    rm -f debian/*/usr/lib/python3*/dist-packages/.coverage

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2022-12-19 09:59:12.419691292 +0000
--- b/debian/rules	2022-12-19 10:00:06.647874759 +0000
@@ -13,4 +13,4 @@
 
 execute_after_dh_python3:
 	# Get rid of extra .coverage file
-	rm -f debian/*/usr/lib/python3/dist-packages/.coverage
+	rm -f debian/*/usr/lib/python3*/dist-packages/.coverage


More information about the Reproducible-bugs mailing list