commit: 639c82bfe6c7e004a3c1251bad6e3bd71e9a96b1
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 25 23:49:58 2023 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Thu Oct 26 00:14:03 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=639c82bf
dev-python/mkdocstrings: update test dependencies
One, test_inventory.py is skipped in its entirety unless Sphinx
is present.
Two, markdown-exec is now in the tree. Unfortunately it turns out there
are additional test dependencies we haven't packaged yet, therefore keep
tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file
deselected for now and merely update the relevant comment.
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild
b/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild
index 1f12e1c46f72..0e8648a7cba5 100644
--- a/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild
+++ b/dev-python/mkdocstrings/mkdocstrings-0.23.0.ebuild
@@ -3,6 +3,7 @@
EAPI=8
+# py3.12 blocked by mkdocs-material
DISTUTILS_USE_PEP517=pdm-backend
PYTHON_COMPAT=( python3_{10..11} )
@@ -34,8 +35,10 @@ RDEPEND="
"
BDEPEND="
test? (
+ dev-python/markdown-exec[${PYTHON_USEDEP}]
dev-python/mkdocs-material[${PYTHON_USEDEP}]
dev-python/mkdocstrings-python[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
)
"
@@ -46,7 +49,7 @@ EPYTEST_DESELECT=(
tests/test_plugin.py::test_disabling_plugin
# WTF, it tries to unlink installed files from installed package?!
tests/test_handlers.py::test_extended_templates
- # TODO: package markdown-exec
+ # Needs unpackaged mkdocs-callouts, mkdocs-literate-nav, and possibly
more
tests/test_inventory.py::test_sphinx_load_mkdocstrings_inventory_file
# Internet
tests/test_inventory.py::test_load_inventory