Bug#1120332: mu-editor: please make the build reproducible

Chris Lamb lamby at debian.org
Fri Nov 7 18:59:23 GMT 2025


Source: mu-editor
Version: 1.2.0+dfsg-2
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
mu-editor could not be built reproducibly.

This is because the testsuite does not 100% clean up after itself.

Patch attached.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2025-11-07 10:48:49.241405118 -0800
--- b/debian/rules	2025-11-07 10:58:35.845813444 -0800
@@ -17,7 +17,7 @@
                              cp /usr/share/fonts/truetype/inconsolata/Inconsolata.otf \
                              {build_dir}/mu/resources/fonts/Inconsolata.otf
 export PYBUILD_TEST_ARGS   = --random-order
-export PYBUILD_AFTER_TEST  = rm -rf {build_dir}/mu/resources/fonts
+export PYBUILD_AFTER_TEST  = rm -rf {build_dir}/mu/resources/fonts {build_dir}/.pytest_cache
 
 export PYBUILD_INSTALL_ARGS=--install-lib=/usr/share/mu-editor/ --install-scripts=/usr/share/mu-editor/
 


More information about the Reproducible-bugs mailing list