Bug#1144407: django-htmx: please make the build reproducible
Chris Lamb
lamby at debian.org
Fri Aug 14 18:06:43 BST 2026
Source: django-htmx
Version: 1.29.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
django-htmx could not be built reproducibly.
This is because the packaging testsuite moves download_htmx.py into place
before running the tests, resulting it being installed directly to the
/usr/lib/python3/dist-packages directory (itself an issue). However, if
the tests are skipped, then the package contents will differ.
Patch attached that fixes this issue.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/debian/rules 2026-08-14 10:01:49.630861941 -0700
--- b/debian/rules 2026-08-14 10:04:42.638952747 -0700
@@ -5,6 +5,7 @@
export PYBUILD_NAME=django_htmx
export PYBUILD_BEFORE_TEST=cp -a download_htmx.py tests {build_dir}
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/download_htmx.py
SPHINXOPTS := -E -N
More information about the Reproducible-bugs
mailing list