Source: mkdocs-include-markdown-plugin
Version: 7.2.1-2
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
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
`. `'` [email protected] / chris-lamb.co.uk
`-
--- 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'