Source: myst-parser
Version: 0.16.1-1
Severity: normal

Hi,

myst-parser is not migrating to testing because of a failing autopkgtest on 
i386 and armhf, see below.
This is also blocking testing migration of other packages such as primecountpy 
and sagemath.

Best wishes,
Tobias

=================================== FAILURES ===================================
__ test_sphinx_directives[35-highlight (`sphinx.directives.code.Highlight`):] __

line = 35, title = 'highlight (`sphinx.directives.code.Highlight`):'
input = '```{highlight} something\n```\n'
expected = '<document source="notset">\n    <highlightlang force="False" 
lang="something" linenothreshold="9223372036854775807">\n'

    @pytest.mark.parametrize(
        "line,title,input,expected",
        read_fixture_file(FIXTURE_PATH.joinpath("sphinx_directives.md")),
        ids=[
            f"{i[0]}-{i[1]}"
            for i in read_fixture_file(FIXTURE_PATH / "sphinx_directives.md")
        ],
    )
    def test_sphinx_directives(line, title, input, expected):
        # TODO fix skipped directives
        # TODO test domain directives
        if title.startswith("SKIP"):
            pytest.skip(title)
        elif title.startswith("SPHINX3") and sphinx.version_info[0] < 3:
            pytest.skip(title)
        elif title.startswith("SPHINX4") and sphinx.version_info[0] < 4:
            pytest.skip(title)
        document = to_docutils(input, in_sphinx_env=True)
        _actual, _expected = [
            "\n".join([ll.rstrip() for ll in text.splitlines()])
            for text in (document.pformat(), expected)
        ]
        try:
>           assert _actual == _expected
E           assert '<document so..."2147483647">' == '<document 
so...36854775807">'
E             Skipping 84 identical leading characters in diff, use -v to show
E             - hreshold="9223372036854775807">
E             + hreshold="2147483647">

tests/test_renderers/test_fixtures.py:121: AssertionError
----------------------------- Captured stdout call -----------------------------
<document source="notset">
    <highlightlang force="False" lang="something" linenothreshold="2147483647">

=========================== short test summary info ============================
FAILED 
tests/test_renderers/test_fixtures.py::test_sphinx_directives[35-highlight 
(`sphinx.directives.code.Highlight`):]

Reply via email to