Package: src:python-sphinx-autodoc2 Version: 0.5.0-7 Severity: serious Tags: ftbfs forky sid
Dear maintainer: During a rebuild of all packages in unstable, this package failed to build. Below you will find the last part of the build log (probably the most relevant part, but not necessarily). If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202511/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you cannot reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:python-sphinx-autodoc2, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --with sphinxdoc --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild debian/rules binary dh binary --with sphinxdoc --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.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc2 * Building wheel... Successfully built sphinx_autodoc2-0.5.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module dh_auto_test -O--buildsystem=pybuild I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc2/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc2/build configfile: pyproject.toml plugins: datadir-1.4.1+ds, regressions-2.5.0+ds, typeguard-4.4.4, cov-5.0.0 collected 45 items tests/test_analyse_module.py ..................................... [ 82%] tests/test_database.py . [ 84%] tests/test_render.py ......F [100%] =================================== FAILURES =================================== _________________________ test_sphinx_build_directives _________________________ tmp_path = PosixPath('/tmp/pytest-of-sbuild/pytest-0/test_sphinx_build_directives0') file_regression = <pytest_regressions.file_regression.FileRegressionFixture object at 0x7f6eb65cc640> def test_sphinx_build_directives(tmp_path: Path, file_regression): """Test building the Sphinx docs, using directives.""" build_package(tmp_path) source = tmp_path / "source" source.mkdir() source.joinpath("conf.py").write_text( dedent( """\ project = "tester" extensions = ["autodoc2"] autodoc2_packages = [ { "path": "../package", "auto_mode": False, } ] """ ), "utf-8", ) source.joinpath("index.rst").write_text( dedent( """\ Test ==== .. autodoc2-docstring:: package.func :literal: :literal-linenos: :literal-lexer: restructuredtext .. autodoc2-docstring:: package.func .. autodoc2-object:: package.func :literal: :literal-lexer: restructuredtext .. autodoc2-object:: package.func :literal: render_plugin = "myst" .. autodoc2-object:: package.func .. autodoc2-summary:: package.func package.a1 """ ), "utf-8", ) warnings = io.StringIO() build = tmp_path / "build" app = SphinxTestApp( buildername="html", srcdir=Path(os.path.abspath(source)), builddir=Path(os.path.abspath(build)), warning=warnings, ) try: app.build() finally: app.cleanup() assert not warnings.getvalue() doctree = app.env.get_doctree("index") doctree["source"] = "index.rst" content = "\n".join([line.rstrip() for line in doctree.pformat().splitlines()]) if sphinx.version_info < (8, 2): content = content.replace( '<desc_parameterlist multi_line_parameter_list="False"', '<desc_parameterlist multi_line_parameter_list="False" multi_line_trailing_comma="True"', ) > file_regression.check(content, extension=".xml") E AssertionError: FILES DIFFER: E /tmp/pytest-of-sbuild/pytest-0/test_sphinx_build_directives0/test_render/test_sphinx_build_directives.xml E /tmp/pytest-of-sbuild/pytest-0/test_sphinx_build_directives0/test_render/test_sphinx_build_directives.obtained.xml E HTML DIFF: /tmp/pytest-of-sbuild/pytest-0/test_sphinx_build_directives0/test_render/test_sphinx_build_directives.obtained.diff.html E --- E +++ E @@ -2,7 +2,7 @@ E <section ids="test" names="test"> E <title> E Test E - <literal_block highlight_args="{'linenostart': 9}" language="restructuredtext" linenos="True" xml:space="preserve"> E + <literal_block highlight_args="{'linenostart': 9}" language="restructuredtext" linenos="1" xml:space="preserve"> E This is a function. E <paragraph> E This is a function. E @@ -19,13 +19,13 @@ E ``` E ```` E <index entries="('single',\ 'func()\ (in\ module\ package)',\ 'package.func',\ '',\ None)"> E - <desc classes="py function" desctype="function" domain="py" no-contents-entry="False" no-index="False" no-index-entry="False" no-typesetting="False" nocontentsentry="False" noindex="False" noindexentry="False" objtype="function"> E + <desc classes="py function" desctype="function" domain="py" no-contents-entry="0" no-index="0" no-index-entry="0" no-typesetting="0" nocontentsentry="0" noindex="0" noindexentry="0" objtype="function"> E <desc_signature _toc_name="func()" _toc_parts="('package', 'func')" class="" classes="sig sig-object" fullname="func" ids="package.func" module="package"> E <desc_addname classes="sig-prename descclassname" xml:space="preserve"> E package. E <desc_name classes="sig-name descname" xml:space="preserve"> E func E - <desc_parameterlist multi_line_parameter_list="False" multi_line_trailing_comma="True" xml:space="preserve"> E + <desc_parameterlist multi_line_parameter_list="0" multi_line_trailing_comma="1" xml:space="preserve"> E <desc_parameter xml:space="preserve"> E <desc_sig_name classes="n"> E a E @@ -34,7 +34,7 @@ E <desc_sig_space classes="w"> E E <desc_sig_name classes="n"> E - <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="False" reftarget="str" reftype="class"> E + <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="0" reftarget="str" reftype="class"> E str E <desc_parameter xml:space="preserve"> E <desc_sig_name classes="n"> E @@ -44,10 +44,10 @@ E <desc_sig_space classes="w"> E E <desc_sig_name classes="n"> E - <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="False" reftarget="int" reftype="class"> E + <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="0" reftarget="int" reftype="class"> E int E <desc_returns xml:space="preserve"> E - <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="False" reftarget="package.a.c.ac1" reftype="class"> E + <pending_xref py:class="True" py:module="package" refdomain="py" refspecific="0" reftarget="package.a.c.ac1" reftype="class"> E package.a.c.ac1 E <desc_content> E <paragraph> E @@ -60,7 +60,7 @@ E <row> E <entry> E <paragraph> E - <pending_xref py:class="True" py:module="True" refdoc="index" refdomain="py" refexplicit="False" reftarget="package.func" reftype="obj" refwarn="False"> E + <pending_xref py:class="True" py:module="True" refdoc="index" refdomain="py" refexplicit="0" reftarget="package.func" reftype="obj" refwarn="0"> E <literal classes="xref py py-obj"> E package.func E <entry> E @@ -69,7 +69,7 @@ E <row> E <entry> E <paragraph> E - <pending_xref py:class="True" py:module="True" refdoc="index" refdomain="py" refexplicit="True" reftarget="package.a.a1" reftype="obj" refwarn="False"> E + <pending_xref py:class="True" py:module="True" refdoc="index" refdomain="py" refexplicit="1" reftarget="package.a.a1" reftype="obj" refwarn="0"> E <literal classes="xref py py-obj"> E package.a1 E <entry> tests/test_render.py:231: AssertionError =============================== warnings summary =============================== tests/test_render.py::test_sphinx_build[with_rebuild] tests/test_render.py::test_sphinx_build[with_rebuild] tests/test_render.py::test_sphinx_build[without_rebuild] tests/test_render.py::test_sphinx_build_directives /usr/lib/python3/dist-packages/sphinx/builders/html/__init__.py:154: PendingDeprecationWarning: Argument "parser_name" will be removed in Docutils 2.0. Specify parser name in the "parser" argument. reader: Reader[DocTreeInput] = docutils.readers.doctree.Reader( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html =========================== short test summary info ============================ FAILED tests/test_render.py::test_sphinx_build_directives - AssertionError: F... =================== 1 failed, 44 passed, 4 warnings in 1.18s =================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc2/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make: *** [debian/rules:6: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

