Your message dated Sun, 09 Nov 2025 11:04:53 +0000
with message-id <[email protected]>
and subject line Bug#1120177: fixed in python-sphinx-autodoc2 0.5.0-8
has caused the Debian Bug report #1120177,
regarding python-sphinx-autodoc2: FTBFS: dh_auto_test: error: pybuild --test
--test-pytest -i python{version} -p 3.13 returned exit code 13
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1120177: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1120177
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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
--------------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Source: python-sphinx-autodoc2
Source-Version: 0.5.0-8
Done: Dmitry Shachnev <[email protected]>
We believe that the bug you reported is fixed in the latest version of
python-sphinx-autodoc2, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Dmitry Shachnev <[email protected]> (supplier of updated
python-sphinx-autodoc2 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 09 Nov 2025 13:01:17 +0300
Source: python-sphinx-autodoc2
Architecture: source
Version: 0.5.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Closes: 1120177
Changes:
python-sphinx-autodoc2 (0.5.0-8) unstable; urgency=medium
.
* Team upload.
* Update 001-fix-for-tests.patch to make the tests pass with Docutils 0.22
(closes: #1120177).
* Remove shields using a patch, rather than generating invalid links.
Checksums-Sha1:
ad133bfcc5e0829191584d6dc7e0b416a9643d42 2586
python-sphinx-autodoc2_0.5.0-8.dsc
d68c4269c9601e65d075adc09d801fac6a9a500b 6752
python-sphinx-autodoc2_0.5.0-8.debian.tar.xz
be354ef18e7688a772425babf11845d74d765dcf 9432
python-sphinx-autodoc2_0.5.0-8_source.buildinfo
Checksums-Sha256:
724a4727af9804d43ed077d60a92403ce38571220131107289043d8b010b0332 2586
python-sphinx-autodoc2_0.5.0-8.dsc
30708b12b65d00112ef89c0967fd60a8c9f68f12b1e223d5eb55b6eb68215c35 6752
python-sphinx-autodoc2_0.5.0-8.debian.tar.xz
4aede64b859030eec94c41f4c07b7f77e1e26f7050e6ce42bae1a0bf304df7b1 9432
python-sphinx-autodoc2_0.5.0-8_source.buildinfo
Files:
5fb1a98ee572bdc30cad6d1be0f584c8 2586 python optional
python-sphinx-autodoc2_0.5.0-8.dsc
c4cad83f30512fe203dd0ea16d031009 6752 python optional
python-sphinx-autodoc2_0.5.0-8.debian.tar.xz
4f0557679d36582473d3fb2031a1822f 9432 python optional
python-sphinx-autodoc2_0.5.0-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmkQcSMTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4GhMD/0Xr2JpKc8ALopXYJok1xaH0P3DUolO
LJNJLtR52F6Jf3MMzfcj4Si1BJ7YJDfyCHe+U+sz2tCxn9n2bdgYX0YgPHcT0X3t
EsZUG2DtrBKblgAwqhYMv6vcKI00dU+KIt6lP5qc5yLMQnIbQ1cB3cfV9b9zpsgf
WLrQKvm0mlb5r3B654o68jScbRqrFCTVx/hc6PTUIqk1nTCBtkla6OyKzmBZaBfd
3QvlqIEcx8mH+N1zrbmx33EM7TYPzNEyege9WUTXzx+SgwhW4DAKPqUklsicmmHH
xekS01UL25M19bU9KcBkCVJHiu6y9YFUehTRRneOck6lOrUwcgBM1t+1oXutvC4t
HT0QeMKIvEaf9MgQLlJcRug38q3j01VaDu9F7GyIwgDxinTlx1HhsTNwnpjPr9Ps
RnkL1plYpJwK6sK4EbVLZRWd3sIJnDxYl1wc/ufgtlg2163uEDmCkzMJ20TpIkge
KYyR6IZAR4MKQRIF6C3NT5gFwXTprYzol15kBDlWLy60vLdbzwS/BOEBaJpjSF/R
AXODGVEO7kUg0DL8tc6EATlFm/q2hkq17KFowro+GvIX98S98PDCDyfS7/B/iQxx
zGXBOAJX+RoJpsvjuRfOYnqVjwn1b+Fa5qtHF4GB8GkelE0jXfHdqIHShZAOA8dd
WwEK1PvvLdDL1w==
=//Oo
-----END PGP SIGNATURE-----
pgppAAPCCDdTX.pgp
Description: PGP signature
--- End Message ---