Bug#1120631: pydata-sphinx-theme: please make the build reproducible

Chris Lamb lamby at debian.org
Thu Nov 13 16:39:33 GMT 2025


Source: pydata-sphinx-theme
Version: 0.16.1+dfsg-3
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
pydata-sphinx-theme could not be built reproducibly.

This is because the binary differs depending on whether the tests
are run or not. Specifically, the assets/ directory is only shipped
if the tests are run.

A patch is attached that will remove assets/ after running the tests,
but if the package really does need them at runtime, then the
package will need rejigging.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-13 08:01:29.784207034 -0800
--- b/debian/rules	2025-11-13 08:25:00.700212196 -0800
@@ -13,6 +13,7 @@
 export https_proxy=http://127.0.0.1:9/
 
 export PYBUILD_BEFORE_TEST=cp -r src/pydata_sphinx_theme {build_dir}
+export PYBUILD_AFTER_TEST=rm -rfv {build_dir}/pydata_sphinx_theme/assets
 export PYBUILD_TEST_ARGS=-v
 export PYBUILD_NAME=pydata-sphinx-theme
 


More information about the Reproducible-bugs mailing list