Source: django-htmx
Version: 1.29.0-1
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
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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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
 

Reply via email to