Source: mkdocstrings
Version: 0.24.1-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lu...@debian.org
Usertags: ftbfs-20240319 ftbfs-trixie

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" 
> module
> I: pybuild base:305: python3.12 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings  
> * Building wheel...
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/METADATA -> 
> mkdocstrings-0.24.1.dist-info/METADATA
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/WHEEL -> 
> mkdocstrings-0.24.1.dist-info/WHEEL
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/entry_points.txt -> 
> mkdocstrings-0.24.1.dist-info/entry_points.txt
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/licenses/LICENSE -> 
> mkdocstrings-0.24.1.dist-info/licenses/LICENSE
>  - Adding src/mkdocstrings/__init__.py -> mkdocstrings/__init__.py
>  - Adding src/mkdocstrings/_cache.py -> mkdocstrings/_cache.py
>  - Adding src/mkdocstrings/debug.py -> mkdocstrings/debug.py
>  - Adding src/mkdocstrings/extension.py -> mkdocstrings/extension.py
>  - Adding src/mkdocstrings/handlers/__init__.py -> 
> mkdocstrings/handlers/__init__.py
>  - Adding src/mkdocstrings/handlers/base.py -> mkdocstrings/handlers/base.py
>  - Adding src/mkdocstrings/handlers/rendering.py -> 
> mkdocstrings/handlers/rendering.py
>  - Adding src/mkdocstrings/inventory.py -> mkdocstrings/inventory.py
>  - Adding src/mkdocstrings/loggers.py -> mkdocstrings/loggers.py
>  - Adding src/mkdocstrings/plugin.py -> mkdocstrings/plugin.py
>  - Adding src/mkdocstrings/py.typed -> mkdocstrings/py.typed
>  - Adding mkdocstrings-0.24.1.dist-info/RECORD -> 
> mkdocstrings-0.24.1.dist-info/RECORD
> Successfully built mkdocstrings-0.24.1-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with 
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build" 
> module
> I: pybuild base:305: python3.11 -m build --skip-dependency-check 
> --no-isolation --wheel --outdir 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings  
> * Building wheel...
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/METADATA -> 
> mkdocstrings-0.24.1.dist-info/METADATA
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/WHEEL -> 
> mkdocstrings-0.24.1.dist-info/WHEEL
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/entry_points.txt -> 
> mkdocstrings-0.24.1.dist-info/entry_points.txt
>  - Adding .pdm-build/mkdocstrings-0.24.1.dist-info/licenses/LICENSE -> 
> mkdocstrings-0.24.1.dist-info/licenses/LICENSE
>  - Adding src/mkdocstrings/__init__.py -> mkdocstrings/__init__.py
>  - Adding src/mkdocstrings/_cache.py -> mkdocstrings/_cache.py
>  - Adding src/mkdocstrings/debug.py -> mkdocstrings/debug.py
>  - Adding src/mkdocstrings/extension.py -> mkdocstrings/extension.py
>  - Adding src/mkdocstrings/handlers/__init__.py -> 
> mkdocstrings/handlers/__init__.py
>  - Adding src/mkdocstrings/handlers/base.py -> mkdocstrings/handlers/base.py
>  - Adding src/mkdocstrings/handlers/rendering.py -> 
> mkdocstrings/handlers/rendering.py
>  - Adding src/mkdocstrings/inventory.py -> mkdocstrings/inventory.py
>  - Adding src/mkdocstrings/loggers.py -> mkdocstrings/loggers.py
>  - Adding src/mkdocstrings/plugin.py -> mkdocstrings/plugin.py
>  - Adding src/mkdocstrings/py.typed -> mkdocstrings/py.typed
>  - Adding mkdocstrings-0.24.1.dist-info/RECORD -> 
> mkdocstrings-0.24.1.dist-info/RECORD
> Successfully built mkdocstrings-0.24.1-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with 
> "installer" module
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/docs 
> /<<PKGBUILDDIR>>/mkdocs.yml /<<PKGBUILDDIR>>/*.md /<<PKGBUILDDIR>>/src 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build; python3.12 -m 
> pytest -k 'not test_sphinx_load_mkdocstrings_inventory_file and not 
> test_extended_templates and not test_disabling_plugin'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.12.2, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build
> configfile: pyproject.toml
> collected 26 items / 2 deselected / 1 skipped / 24 selected
> 
> tests/test_extension.py ......FFF.....                                   [ 
> 58%]
> tests/test_handlers.py ........                                          [ 
> 91%]
> tests/test_plugin.py ..                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ____________________ test_no_double_toc[ext_markdown0-@@@] 
> _____________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f3a9241fbf0>
> expect_permalink = '@@@'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> ____________________ test_no_double_toc[ext_markdown1-TeSt] 
> ____________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f3a9226df10>
> expect_permalink = 'TeSt'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> ___________________ test_no_double_toc[ext_markdown2-&para;] 
> ___________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f3a92318410>
> expect_permalink = '&para;'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown0-@@@] - 
> Asser...
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown1-TeSt] - 
> Asse...
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown2-&para;] - 
> As...
> ============ 3 failed, 21 passed, 1 skipped, 2 deselected in 1.91s 
> =============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build; python3.12 -m 
> pytest -k 'not test_sphinx_load_mkdocstrings_inventory_file and not 
> test_extended_templates and not test_disabling_plugin'
> I: pybuild pybuild:308: cp -r /<<PKGBUILDDIR>>/docs 
> /<<PKGBUILDDIR>>/mkdocs.yml /<<PKGBUILDDIR>>/*.md /<<PKGBUILDDIR>>/src 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build
> I: pybuild base:305: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build; python3.11 -m 
> pytest -k 'not test_sphinx_load_mkdocstrings_inventory_file and not 
> test_extended_templates and not test_disabling_plugin'
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.11.8, pytest-8.1.1, pluggy-1.4.0
> rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build
> configfile: pyproject.toml
> collected 26 items / 2 deselected / 1 skipped / 24 selected
> 
> tests/test_extension.py ......FFF.....                                   [ 
> 58%]
> tests/test_handlers.py ........                                          [ 
> 91%]
> tests/test_plugin.py ..                                                  
> [100%]
> 
> =================================== FAILURES 
> ===================================
> ____________________ test_no_double_toc[ext_markdown0-@@@] 
> _____________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f312f5b18d0>
> expect_permalink = '@@@'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> ____________________ test_no_double_toc[ext_markdown1-TeSt] 
> ____________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f312f64e150>
> expect_permalink = 'TeSt'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> ___________________ test_no_double_toc[ext_markdown2-&para;] 
> ___________________
> 
> ext_markdown = <markdown.core.Markdown object at 0x7f312f4fe950>
> expect_permalink = '&para;'
> 
>     @pytest.mark.parametrize(
>         ("ext_markdown", "expect_permalink"),
>         [
>             ({"markdown_extensions": [{"toc": {"permalink": "@@@"}}]}, "@@@"),
>             ({"markdown_extensions": [{"toc": {"permalink": "TeSt"}}]}, 
> "TeSt"),
>             ({"markdown_extensions": [{"toc": {"permalink": True}}]}, 
> "&para;"),
>         ],
>         indirect=["ext_markdown"],
>     )
>     def test_no_double_toc(ext_markdown: Markdown, expect_permalink: str) -> 
> None:
>         """Assert that the 'toc' extension doesn't apply its modification 
> twice."""
>         output = ext_markdown.convert(
>             dedent(
>                 """
>                 # aa
>     
>                 ::: tests.fixtures.headings
>                     options:
>                         show_root_toc_entry: false
>     
>                 # bb
>                 """,
>             ),
>         )
>         assert output.count(expect_permalink) == 5
>         assert 'id="tests.fixtures.headings--foo"' in output
> >       assert ext_markdown.toc_tokens == [  # type: ignore[attr-defined]  # 
> > the member gets populated only with 'toc' extension
>             {
>                 "level": 1,
>                 "id": "aa",
>                 "name": "aa",
>                 "children": [
>                     {
>                         "level": 2,
>                         "id": "tests.fixtures.headings--foo",
>                         "name": "Foo",
>                         "children": [
>                             {
>                                 "level": 4,
>                                 "id": "tests.fixtures.headings--bar",
>                                 "name": "Bar",
>                                 "children": [
>                                     {"level": 6, "id": 
> "tests.fixtures.headings--baz", "name": "Baz", "children": []},
>                                 ],
>                             },
>                         ],
>                     },
>                 ],
>             },
>             {"level": 1, "id": "bb", "name": "bb", "children": []},
>         ]
> E       AssertionError: assert [{'children':...': 'bb', ...}] == 
> [{'children':...'name': 'bb'}]
> E         
> E         At index 0 diff: {'level': 1, 'id': 'aa', 'name': 'aa', 'html': 
> 'aa', 'data-toc-label': '', 'children': [{'level': 2, 'id': 
> 'tests.fixtures.headings--foo', 'name': 'Foo', 'html': 'Foo', 
> 'data-toc-label': '', 'children': [{'level': 4, 'id': 
> 'tests.fixtures.headings--bar', 'name': 'Bar', 'html': 'Bar', 
> 'data-toc-label': '', 'children': [{'level': 6, 'id': 
> 'tests.fixtures.headings--baz', 'name': 'Baz', 'html': 'Baz', 
> 'data-toc-label': '', 'children': []}]}]}]} != {'level': 1, 'id': 'aa', 
> 'name': 'aa', 'children': [{'level': 2, 'id': 'tests.fixtures.headings--foo', 
> 'name': ...
> E         
> E         ...Full output truncated (2 lines hidden), use '-vv' to show
> 
> tests/test_extension.py:104: AssertionError
> =========================== short test summary info 
> ============================
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown0-@@@] - 
> Asser...
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown1-TeSt] - 
> Asse...
> FAILED tests/test_extension.py::test_no_double_toc[ext_markdown2-&para;] - 
> As...
> ============ 3 failed, 21 passed, 1 skipped, 2 deselected in 1.59s 
> =============
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build; python3.11 -m 
> pytest -k 'not test_sphinx_load_mkdocstrings_inventory_file and not 
> test_extended_templates and not test_disabling_plugin'
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
> 3.11" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2024/03/19/mkdocstrings_0.24.1-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240319;users=lu...@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240319&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

Reply via email to