Source: mkdocstrings-python-legacy Version: 0.2.3-6 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20231212 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:110: Building wheel for python3.12 with "build" > module > I: pybuild base:310: python3.12 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings > * Building wheel... > /usr/lib/python3/dist-packages/pdm/pep517/metadata.py:410: PDMWarning: Field > `includes` is renamed to `includes` under [tool.pdm.build] table, please > update your pyproject.toml accordingly > return self._compatible_get("includes", []) > - Adding mkdocstrings_handlers/py.typed > - Adding mkdocstrings_handlers/python/__init__.py > - Adding mkdocstrings_handlers/python/handler.py > - Adding mkdocstrings_handlers/python/rendering.py > - Adding mkdocstrings_handlers/python/templates/material/attribute.html > - Adding mkdocstrings_handlers/python/templates/material/attributes.html > - Adding mkdocstrings_handlers/python/templates/material/children.html > - Adding mkdocstrings_handlers/python/templates/material/class.html > - Adding mkdocstrings_handlers/python/templates/material/docstring.html > - Adding mkdocstrings_handlers/python/templates/material/examples.html > - Adding mkdocstrings_handlers/python/templates/material/exceptions.html > - Adding mkdocstrings_handlers/python/templates/material/function.html > - Adding mkdocstrings_handlers/python/templates/material/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/material/method.html > - Adding mkdocstrings_handlers/python/templates/material/module.html > - Adding mkdocstrings_handlers/python/templates/material/parameters.html > - Adding mkdocstrings_handlers/python/templates/material/properties.html > - Adding mkdocstrings_handlers/python/templates/material/return.html > - Adding mkdocstrings_handlers/python/templates/material/signature.html > - Adding mkdocstrings_handlers/python/templates/material/style.css > - Adding mkdocstrings_handlers/python/templates/material/yield.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/exceptions.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/parameters.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/return.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/style.css > - Adding mkdocstrings_handlers/python/templates/mkdocs/yield.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/exceptions.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/parameters.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/return.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/style.css > - Adding mkdocstrings_handlers/python/templates/readthedocs/yield.html > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/WHEEL > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/METADATA > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/licenses/LICENSE > Successfully built mkdocstrings_python_legacy-0.2.3-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.12 with > "installer" module > I: pybuild plugin_pyproject:110: Building wheel for python3.11 with "build" > module > I: pybuild base:310: python3.11 -m build --skip-dependency-check > --no-isolation --wheel --outdir > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings > * Building wheel... > /usr/lib/python3/dist-packages/pdm/pep517/metadata.py:410: PDMWarning: Field > `includes` is renamed to `includes` under [tool.pdm.build] table, please > update your pyproject.toml accordingly > return self._compatible_get("includes", []) > - Adding mkdocstrings_handlers/py.typed > - Adding mkdocstrings_handlers/python/__init__.py > - Adding mkdocstrings_handlers/python/handler.py > - Adding mkdocstrings_handlers/python/rendering.py > - Adding mkdocstrings_handlers/python/templates/material/attribute.html > - Adding mkdocstrings_handlers/python/templates/material/attributes.html > - Adding mkdocstrings_handlers/python/templates/material/children.html > - Adding mkdocstrings_handlers/python/templates/material/class.html > - Adding mkdocstrings_handlers/python/templates/material/docstring.html > - Adding mkdocstrings_handlers/python/templates/material/examples.html > - Adding mkdocstrings_handlers/python/templates/material/exceptions.html > - Adding mkdocstrings_handlers/python/templates/material/function.html > - Adding mkdocstrings_handlers/python/templates/material/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/material/method.html > - Adding mkdocstrings_handlers/python/templates/material/module.html > - Adding mkdocstrings_handlers/python/templates/material/parameters.html > - Adding mkdocstrings_handlers/python/templates/material/properties.html > - Adding mkdocstrings_handlers/python/templates/material/return.html > - Adding mkdocstrings_handlers/python/templates/material/signature.html > - Adding mkdocstrings_handlers/python/templates/material/style.css > - Adding mkdocstrings_handlers/python/templates/material/yield.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/exceptions.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/parameters.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/return.html > - Adding mkdocstrings_handlers/python/templates/mkdocs/style.css > - Adding mkdocstrings_handlers/python/templates/mkdocs/yield.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/exceptions.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/keyword_args.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/parameters.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/return.html > - Adding mkdocstrings_handlers/python/templates/readthedocs/style.css > - Adding mkdocstrings_handlers/python/templates/readthedocs/yield.html > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/WHEEL > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/METADATA > - Adding mkdocstrings_python_legacy-0.2.3.dist-info/licenses/LICENSE > Successfully built mkdocstrings_python_legacy-0.2.3-py3-none-any.whl > I: pybuild plugin_pyproject:122: Unpacking wheel built for python3.11 with > "installer" module > dh_auto_test -O--buildsystem=pybuild > I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/docs > /<<PKGBUILDDIR>>/mkdocs.yml > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build; python3.12 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.12.1, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build > collected 28 items > > tests/test_collector.py ... [ > 10%] > tests/test_renderer.py . [ > 14%] > tests/test_themes.py ..E..E..E..E..E..E..E..E > [100%] > > ==================================== ERRORS > ==================================== > _ ERROR at setup of > test_render_themes_templates[mkdocstrings.extension-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.extension-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m2') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings.inventory-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.inventory-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m5') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings.loggers-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.loggers-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m8') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of test_render_themes_templates[mkdocstrings.plugin-plugin2] > __ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.plugin-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m11') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings.handlers.base-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.handlers.base-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m14') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings.handlers.rendering-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings.handlers.rendering-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m17') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings_handlers.python.handler-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings_handlers.python.handler-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m20') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > _ ERROR at setup of > test_render_themes_templates[mkdocstrings_handlers.python.rendering-plugin2] _ > > request = <SubRequest 'plugin' for <Function > test_render_themes_templates[mkdocstrings_handlers.python.rendering-plugin2]>> > tmp_path = > PosixPath('/tmp/pytest-of-user42/pytest-18/test_render_themes_templates_m23') > > @pytest.fixture(name="mkdocs_conf") > def fixture_mkdocs_conf(request, tmp_path): > """Yield a MkDocs configuration object. > > Parameters: > request: Pytest request fixture. > tmp_path: Pytest temporary path fixture. > > Yields: > MkDocs configuration object. > """ > conf = MkDocsConfig() > while hasattr(request, "_parent_request") and > hasattr(request._parent_request, "_parent_request"): # noqa: WPS437 > request = request._parent_request # noqa: WPS437 > > conf_dict = { > "site_name": "foo", > "site_url": "https://example.org/", > "site_dir": str(tmp_path), > "plugins": [{"mkdocstrings": {"default_handler": "python"}}], > **getattr(request, "param", {}), > } > # Re-create it manually as a workaround for > https://github.com/mkdocs/mkdocs/issues/2289 > mdx_configs = dict(ChainMap(*conf_dict.get("markdown_extensions", > []))) > > conf.load_dict(conf_dict) > > assert conf.validate() == ([], []) > E assert ([('theme', V...edocs"))], []) == ([], []) > E At index 0 diff: [('theme', ValidationError("Unrecognised theme > name: 'material'. The available installed themes are: mkdocs, readthedocs"))] > != [] > E Use -v to get more diff > > tests/conftest.py:47: AssertionError > =========================== short test summary info > ============================ > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.extension-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.inventory-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.loggers-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.plugin-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.handlers.base-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings.handlers.rendering-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings_handlers.python.handler-plugin2] > ERROR > tests/test_themes.py::test_render_themes_templates[mkdocstrings_handlers.python.rendering-plugin2] > ========================= 20 passed, 8 errors in 6.54s > ========================= > E: pybuild pybuild:395: test: plugin pyproject failed with: exit code=1: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_mkdocstrings/build; python3.12 -m > pytest tests > I: pybuild pybuild:314: cp -r /<<PKGBUILDDIR>>/docs > /<<PKGBUILDDIR>>/mkdocs.yml > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build > I: pybuild base:310: cd > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build; python3.11 -m > pytest tests > ============================= test session starts > ============================== > platform linux -- Python 3.11.7, pytest-7.4.3, pluggy-1.3.0 > rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build > collected 28 items > > tests/test_collector.py ... [ > 10%] > tests/test_renderer.py . [ > 14%] > tests/test_themes.py ........................ > [100%] > > ============================== 28 passed in 9.29s > ============================== > I: pybuild pybuild:340: rm -rf > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build/docs > /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_mkdocstrings/build/mkdocs.yml > 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/2023/12/12/mkdocstrings-python-legacy_0.2.3-6_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20231212;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20231212&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.