Source: pydata-sphinx-theme
Version: 0.16.1+dfsg-3
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
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
     `. `'`      [email protected] / chris-lamb.co.uk
       `-
--- 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
 

Reply via email to