diff options
author | Michał Górny <mgorny@gentoo.org> | 2024-04-21 17:44:59 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-04-21 17:46:25 +0200 |
commit | ba689db1426fc5b2b04a8627d210d34b65a642a7 (patch) | |
tree | 1ad84ba5259252692cccca9908217804693e52f3 /dev-python/myst-parser | |
parent | dev-python/myst-parser: Unpin docutils (diff) | |
download | gentoo-ba689db1426fc5b2b04a8627d210d34b65a642a7.tar.gz gentoo-ba689db1426fc5b2b04a8627d210d34b65a642a7.tar.bz2 gentoo-ba689db1426fc5b2b04a8627d210d34b65a642a7.zip |
dev-python/myst-parser: Deselect tests failing with Sphinx 7.3.7
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/myst-parser')
-rw-r--r-- | dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild index 2d897d5f9417..7d5eb87dbe12 100644 --- a/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild +++ b/dev-python/myst-parser/myst-parser-2.0.0-r1.ebuild @@ -62,3 +62,20 @@ src_prepare() { # unpin docutils sed -i -e '/docutils/s:,<[0-9.]*::' pyproject.toml || die } + +python_test() { + local EPYTEST_DESELECT=() + + if has_version ">=dev-python/sphinx-7.3"; then + EPYTEST_DESELECT+=( + # https://github.com/executablebooks/MyST-Parser/issues/913 + 'tests/test_renderers/test_fixtures_sphinx.py::test_syntax_elements[298-Sphinx Role containing backtick:]' + 'tests/test_renderers/test_fixtures_sphinx.py::test_sphinx_directives[341-versionadded (`sphinx.domains.changeset.VersionChange`):]' + tests/test_sphinx/test_sphinx_builds.py::test_references_singlehtml + tests/test_sphinx/test_sphinx_builds.py::test_heading_slug_func + tests/test_sphinx/test_sphinx_builds.py::test_gettext_html + ) + fi + + epytest +} |