Bug#1139662: mkdocs-include-markdown-plugin: please make the build reproducible

Chris Lamb lamby at debian.org
Wed Jun 10 21:00:27 BST 2026


Source: mkdocs-include-markdown-plugin
Version: 7.2.1-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
mkdocs-include-markdown-plugin could not be built reproducibly.

This is because the testsuite also generates a foo/ directory that
gets installed to /usr/lib/python3/dist-packages (!).

Patch attached that removes this in PYBUILD_AFTER_TEST.

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


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
--- a/debian/rules	2026-06-10 12:49:56.669157328 -0700
--- b/debian/rules	2026-06-10 12:51:20.694662538 -0700
@@ -4,7 +4,7 @@
 
 # make the examples/ directory available to the test suite
 export PYBUILD_BEFORE_TEST=cp -a examples/ {build_dir}
-export PYBUILD_AFTER_TEST=rm -rf {build_dir}/examples/
+export PYBUILD_AFTER_TEST=rm -rf {build_dir}/examples/ {build_dir}/foo/
 
 export PYBUILD_TEST_ARGS=-k 'not test_page_included_by_url_is_cached and not test_examples_subprocess and not test_examples_api and not test_include and not test_read_url_cached_content and not test_natural_order_by_extension and not test_natural_order_by_extension and not test_natural_order_by_extension_reverse and not test_natural_order_by_extension_reverse'
 


More information about the Reproducible-bugs mailing list