Your message dated Mon, 05 Jan 2026 16:01:45 +0000
with message-id <[email protected]>
and subject line Bug#1123347: fixed in sphinx-autodoc-typehints 3.5.2-1
has caused the Debian Bug report #1123347,
regarding sphinx-autodoc-typehints: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.14 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.)


-- 
1123347: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123347
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sphinx-autodoc-typehints
Version: 3.2.0-2
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/202512/

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:sphinx-autodoc-typehints, so that this is 
still
visible in the BTS web page for this package.

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --with python3 --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 python3 --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:131: Building wheel for python3.14 with "build" 
module
I: pybuild base:317: python3.14 -m build --skip-dependency-check --no-isolation 
--wheel --outdir 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sphinx-autodoc-typehints  
* Building wheel...
Successfully built sphinx_autodoc_typehints-3.2.0-py3-none-any.whl

[... snipped ...]

            ("Union[int | float, str]", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
            ("Union[int, float] | str", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
        ],
    )
    def test_always_use_bars_union(annotation: str, expected_result: str) -> 
None:
        conf = create_autospec(Config, always_use_bars_union=True)
        result = format_annotation(eval(annotation), conf)  # noqa: S307
>       assert result == expected_result
E       AssertionError: assert ':py:data:`~t...y:obj:`None`]' == 
':py:class:`i...py:obj:`None`'
E         
E         - :py:class:`int` | :py:class:`float` | :py:obj:`None`
E         + :py:data:`~typing.Union`\ \[:py:class:`int`, :py:class:`float`, 
:py:obj:`None`]

tests/test_sphinx_autodoc_typehints.py:449: AssertionError
_ test_always_use_bars_union[Union[int | float, str]-:py:class:`int` | 
:py:class:`float` | :py:class:`str`] _

annotation = 'Union[int | float, str]'
expected_result = ':py:class:`int` | :py:class:`float` | :py:class:`str`'

    @pytest.mark.parametrize(
        ("annotation", "expected_result"),
        [
            ("int | float", ":py:class:`int` | :py:class:`float`"),
            ("int | float | None", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Union[int, float]", ":py:class:`int` | :py:class:`float`"),
            ("Union[int, float, None]", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Optional[int | float]", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Optional[Union[int, float]]", ":py:class:`int` | 
:py:class:`float` | :py:obj:`None`"),
            ("Union[int | float, str]", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
            ("Union[int, float] | str", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
        ],
    )
    def test_always_use_bars_union(annotation: str, expected_result: str) -> 
None:
        conf = create_autospec(Config, always_use_bars_union=True)
        result = format_annotation(eval(annotation), conf)  # noqa: S307
>       assert result == expected_result
E       AssertionError: assert ':py:data:`~t...:class:`str`]' == 
':py:class:`i...y:class:`str`'
E         
E         - :py:class:`int` | :py:class:`float` | :py:class:`str`
E         + :py:data:`~typing.Union`\ \[:py:class:`int`, :py:class:`float`, 
:py:class:`str`]

tests/test_sphinx_autodoc_typehints.py:449: AssertionError
_ test_always_use_bars_union[Union[int, float] | str-:py:class:`int` | 
:py:class:`float` | :py:class:`str`] _

annotation = 'Union[int, float] | str'
expected_result = ':py:class:`int` | :py:class:`float` | :py:class:`str`'

    @pytest.mark.parametrize(
        ("annotation", "expected_result"),
        [
            ("int | float", ":py:class:`int` | :py:class:`float`"),
            ("int | float | None", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Union[int, float]", ":py:class:`int` | :py:class:`float`"),
            ("Union[int, float, None]", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Optional[int | float]", ":py:class:`int` | :py:class:`float` | 
:py:obj:`None`"),
            ("Optional[Union[int, float]]", ":py:class:`int` | 
:py:class:`float` | :py:obj:`None`"),
            ("Union[int | float, str]", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
            ("Union[int, float] | str", ":py:class:`int` | :py:class:`float` | 
:py:class:`str`"),
        ],
    )
    def test_always_use_bars_union(annotation: str, expected_result: str) -> 
None:
        conf = create_autospec(Config, always_use_bars_union=True)
        result = format_annotation(eval(annotation), conf)  # noqa: S307
>       assert result == expected_result
E       AssertionError: assert ':py:data:`~t...:class:`str`]' == 
':py:class:`i...y:class:`str`'
E         
E         - :py:class:`int` | :py:class:`float` | :py:class:`str`
E         + :py:data:`~typing.Union`\ \[:py:class:`int`, :py:class:`float`, 
:py:class:`str`]

tests/test_sphinx_autodoc_typehints.py:449: AssertionError
____________________ test_sphinx_output_future_annotations _____________________

app = <SphinxTestApp buildername='text'>
status = <_io.StringIO object at 0x7f55c25d23b0>

    @pytest.mark.sphinx("text", testroot="dummy")
    @patch("sphinx.writers.text.MAXWIDTH", 2000)
    def test_sphinx_output_future_annotations(app: SphinxTestApp, status: 
StringIO) -> None:
        set_python_path()
    
        app.config.master_doc = "future_annotations"  # create flag
        app.build()
    
        assert "build succeeded" in status.getvalue()  # Build succeeded
    
        contents = (Path(app.srcdir) / 
"_build/text/future_annotations.txt").read_text()
        expected_contents = """\
        Dummy Module
        ************
    
        dummy_module_future_annotations.function_with_py310_annotations(self, 
x, y, z=None)
    
           Method docstring.
    
           Parameters:
              * **x** ("bool" | "None") -- foo
    
              * **y** ("int" | "str" | "float") -- bar
    
              * **z** ("str" | "None") -- baz
    
           Return type:
              "str"
        """
        expected_contents = dedent(expected_contents)
        expected_contents = dedent(expected_contents)
>       assert contents == expected_contents
E       assert 'Dummy Module...      "str"\n' == 'Dummy Module...      "str"\n'
E         
E         Skipping 155 identical leading characters in diff, use -v to show
E         - * **x** ("bool" | "None") -- foo
E         + * **x** ("Optional"["bool"]) -- foo
E           
E         -       * **y** ("int" | "str" | "float") -- bar
E         ?                     ^^      ^^...
E         
E         ...Full output truncated (8 lines hidden), use '-vv' to show

tests/test_sphinx_autodoc_typehints.py:588: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: text
# srcdir: /tmp/pytest-of-sbuild/pytest-0/dummy
# outdir: /tmp/pytest-of-sbuild/pytest-0/dummy/_build/text
# status: 
Running Sphinx v8.2.3
loading translations [en]... done
building [mo]: targets for 0 po files that are out of date
writing output... 
building [text]: targets for 6 source files that are out of date
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 17%] future_annotations
reading sources... [ 33%] simple
reading sources... [ 50%] simple_default_role
reading sources... [ 67%] simple_no_use_rtype
reading sources... [ 83%] 
without_complete_typehints
reading sources... [100%] wrong_module_path

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying assets: done
writing output... [ 17%] future_annotations
writing output... [ 33%] simple
writing output... [ 50%] simple_default_role
writing output... [ 67%] simple_no_use_rtype
writing output... [ 83%] 
without_complete_typehints
writing output... [100%] wrong_module_path

build succeeded.

The text files are in 
../../../../../../tmp/pytest-of-sbuild/pytest-0/dummy/_build/text.

# warning: 

____________________________ test_wrong_module_path ____________________________

app = <SphinxTestApp buildername='text'>
status = <_io.StringIO object at 0x7f55c2e780d0>
warning = <_io.StringIO object at 0x7f55c2973be0>

    @pytest.mark.sphinx("text", testroot="dummy")
    @patch("sphinx.writers.text.MAXWIDTH", 2000)
    def test_wrong_module_path(app: SphinxTestApp, status: StringIO, warning: 
StringIO) -> None:
        set_python_path()
    
        app.config.master_doc = "wrong_module_path"  # create flag
        app.config.default_role = "literal"
        app.config.nitpicky = True
        app.config.nitpick_ignore = {("py:data", "typing.Optional")}
    
        def fixup_module_name(mod: str) -> str:
            if not mod.startswith("wrong_module_path"):
                return mod
            return "export_module" + mod.removeprefix("wrong_module_path")
    
        app.config.suppress_warnings = ["config.cache"]
        app.config.typehints_fixup_module_name = fixup_module_name
        app.build()
    
        assert "build succeeded" in status.getvalue()  # Build succeeded
>       assert not warning.getvalue().strip()
E       AssertionError: assert not '\x1b[91m<unknown>:1: WARNING: py:data 
reference target not found: typing.Union [ref.data]\x1b[39;49;00m'
E        +  where '\x1b[91m<unknown>:1: WARNING: py:data reference target not 
found: typing.Union [ref.data]\x1b[39;49;00m' = <built-in method strip of str 
object at 0x7f55c3319bb0>()
E        +    where <built-in method strip of str object at 0x7f55c3319bb0> = 
'\x1b[91m<unknown>:1: WARNING: py:data reference target not found: typing.Union 
[ref.data]\x1b[39;49;00m\n'.strip
E        +      where '\x1b[91m<unknown>:1: WARNING: py:data reference target 
not found: typing.Union [ref.data]\x1b[39;49;00m\n' = <built-in method getvalue 
of _io.StringIO object at 0x7f55c2973be0>()
E        +        where <built-in method getvalue of _io.StringIO object at 
0x7f55c2973be0> = <_io.StringIO object at 0x7f55c2973be0>.getvalue

tests/test_sphinx_autodoc_typehints.py:1074: AssertionError
--------------------------- Captured stdout teardown ---------------------------
# testroot: root
# builder: text
# srcdir: /tmp/pytest-of-sbuild/pytest-0/dummy
# outdir: /tmp/pytest-of-sbuild/pytest-0/dummy/_build/text
# status: 
Running Sphinx v8.2.3
loading translations [en]... done
building [mo]: targets for 0 po files that are out of date
writing output... 
building [text]: targets for 6 source files that are out of date
updating environment: [new config] 6 added, 0 changed, 0 removed
reading sources... [ 17%] future_annotations
reading sources... [ 33%] simple
reading sources... [ 50%] simple_default_role
reading sources... [ 67%] simple_no_use_rtype
reading sources... [ 83%] 
without_complete_typehints
reading sources... [100%] wrong_module_path

looking for now-outdated files... none found
pickling environment... done
checking consistency... done
preparing documents... done
copying assets... 
copying assets: done
writing output... [ 17%] future_annotations
writing output... [ 33%] simple
writing output... [ 50%] simple_default_role
writing output... [ 67%] simple_no_use_rtype
writing output... [ 83%] 
without_complete_typehints
writing output... [100%] wrong_module_path

build succeeded, 1 warning.

The text files are in 
../../../../../../tmp/pytest-of-sbuild/pytest-0/dummy/_build/text.

# warning: 
<unknown>:1: WARNING: py:data reference target not found: typing.Union 
[ref.data]

=============================== warnings summary ===============================
tests/test_integration.py: 40 warnings
  /usr/lib/python3/dist-packages/sphinx/directives/patches.py:216: 
PendingDeprecationWarning: The auxiliary function roles.set_classes() is 
obsoleted by roles.normalize_options() and will be removed in Docutils 2.0
    set_classes(self.options)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/test_sphinx_autodoc_typehints.py::test_format_annotation[Union]
FAILED tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[int | 
float-:py:class:`int` | :py:class:`float`]
FAILED tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[int | 
float | None-:py:class:`int` | :py:class:`float` | :py:obj:`None`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Union[int, 
float]-:py:class:`int` | :py:class:`float`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Union[int, 
float, None]-:py:class:`int` | :py:class:`float` | :py:obj:`None`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Optional[int 
| float]-:py:class:`int` | :py:class:`float` | :py:obj:`None`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Optional[Union[int,
 float]]-:py:class:`int` | :py:class:`float` | :py:obj:`None`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Union[int | 
float, str]-:py:class:`int` | :py:class:`float` | :py:class:`str`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_always_use_bars_union[Union[int, 
float] | str-:py:class:`int` | :py:class:`float` | :py:class:`str`]
FAILED 
tests/test_sphinx_autodoc_typehints.py::test_sphinx_output_future_annotations
FAILED tests/test_sphinx_autodoc_typehints.py::test_wrong_module_path - Asser...
================= 11 failed, 328 passed, 40 warnings in 8.78s ==================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sphinx-autodoc-typehints/build; 
python3.14 -m pytest tests
I: pybuild base:317: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc-typehints/build; 
python3.13 -m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx-autodoc-typehints/build
configfile: pyproject.toml
plugins: cov-5.0.0, typeguard-4.4.4
collected 339 items

tests/test_integration.py .............................................. [ 13%]
........................................................................ [ 34%]
..........................................................               [ 51%]
tests/test_integration_autodoc_type_aliases.py ...                       [ 52%]
tests/test_integration_issue_384.py .                                    [ 53%]
tests/test_sphinx_autodoc_typehints.py ................................. [ 62%]
........................................................................ [ 84%]
.....................................................                    [ 99%]
tests/test_version.py .                                                  [100%]

=============================== warnings summary ===============================
tests/test_integration.py: 40 warnings
  /usr/lib/python3/dist-packages/sphinx/directives/patches.py:216: 
PendingDeprecationWarning: The auxiliary function roles.set_classes() is 
obsoleted by roles.normalize_options() and will be removed in Docutils 2.0
    set_classes(self.options)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================= 339 passed, 40 warnings in 8.45s =======================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" returned exit code 13
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Source: sphinx-autodoc-typehints
Source-Version: 3.5.2-1
Done: Dmitry Shachnev <[email protected]>

We believe that the bug you reported is fixed in the latest version of
sphinx-autodoc-typehints, 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 
sphinx-autodoc-typehints 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: Mon, 05 Jan 2026 16:41:37 +0300
Source: sphinx-autodoc-typehints
Architecture: source
Version: 3.5.2-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Dmitry Shachnev <[email protected]>
Closes: 1123347
Changes:
 sphinx-autodoc-typehints (3.5.2-1) unstable; urgency=medium
 .
   * Team upload.
   * New upstream release.
     - Supports Python 3.14 (closes: #1123347).
   * Update debian/patches/test-fixes to test against the documentation of
     matching Python version.
   * Add auto-generated version.py file to debian/clean.
   * Bump required versions of python3-hatch-vcs and python3-sphinx.
Checksums-Sha1:
 c67bf4389cddc65b6328d0d7a75e1302e1cf210a 2484 
sphinx-autodoc-typehints_3.5.2-1.dsc
 682ad2184fdd4d225e361a5874eec5065e406eb0 37839 
sphinx-autodoc-typehints_3.5.2.orig.tar.gz
 4a3fb9b7c45425907f06df96488281d621ea12fd 3756 
sphinx-autodoc-typehints_3.5.2-1.debian.tar.xz
 ffb9b97132107ecebcf210c97bb7259987656eba 9848 
sphinx-autodoc-typehints_3.5.2-1_source.buildinfo
Checksums-Sha256:
 85fe96212967f956fb6f848c100b3f5add7924151cd499bbb38d663a68f28220 2484 
sphinx-autodoc-typehints_3.5.2-1.dsc
 5fcd4a3eb7aa89424c1e2e32bedca66edc38367569c9169a80f4b3e934171fdb 37839 
sphinx-autodoc-typehints_3.5.2.orig.tar.gz
 46af4bd8d4728d3e6aa19cd24710ef830476969ce90073d0b0b4ca53a0be2545 3756 
sphinx-autodoc-typehints_3.5.2-1.debian.tar.xz
 285fdd0bf15581dd50b6839982906ea246cf01d31ab5dc4f11ac503b0a4498fc 9848 
sphinx-autodoc-typehints_3.5.2-1_source.buildinfo
Files:
 74dc5a4304a6e55d1654a7afca102abc 2484 python optional 
sphinx-autodoc-typehints_3.5.2-1.dsc
 e439f4c666e793f53841c646fd95bb1d 37839 python optional 
sphinx-autodoc-typehints_3.5.2.orig.tar.gz
 8b6eb8b5e943f23bad4f078d8eee7b08 3756 python optional 
sphinx-autodoc-typehints_3.5.2-1.debian.tar.xz
 be9aa11c2935fe8b984e61f64ba406a0 9848 python optional 
sphinx-autodoc-typehints_3.5.2-1_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE8kKZ/xu8kBi5BqTLYCaTbS8ciuAFAmlb0hYTHG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBgJpNtLxyK4I6LD/9rA7bDtzgEy71OA3n+jav9tQ3q80yA
1CqAV34RpEYNiz4F5qZ72ED/pPMK1SxGicjquFRhRUwLS8MSjo9jG/E5UH/86qmc
Ngi0t4BhApSgemdqVHGX6eeN/WGWe376NgXiQwuzhKiydeoZPP2L65xsJLfsxSsP
1ZHhpWduoqpq7ZDIwaF2YH5Dvz+hjtFhN4mhToRk8baKsYCJtRIpooVbqK/dewWy
yjjqHPmL26bMoDAapsZ5cGYvRUk3wZSxSSpOVawvTmR8aRJIjxcyR296ddMTKm6J
PFtRZIdUIn2CqLgx2Ny0R2vKX3rDh+RgVeoH/HIfrswEHsXugNTKjz6X0V6rNqhE
lZjgRqKsZb9r6BkXF2a6SdtYOInR1tDmheVUaDIV50yS4CYES8QF7eqGTphah5wG
lI+ttB1kYaRgMJ4hehXNjxCmRDJ7CPG/LVP6km55KNr8vDVr6DAuMYeAP4W9t+m2
IEYwtpF4RerplkpoNyR1GD0tAohDzAi93fP0IAXcuZpINnLvsq/w8aoxkGJrpMUQ
sIHYZzkPI5vIxBjBYCIG7nS3Sc+sSfdutpTRZyN+ckzn9oDSDeUD35OLX+5L55qU
XLNFu/AQl8OJn8LufAgu1sTcQ1dGfNxATMcEYMkNNV4RtKOCEk0A71IVeO/UdZDO
leJY6WbdwcMpbw==
=zLKl
-----END PGP SIGNATURE-----

Attachment: pgpmaBPrX3fsb.pgp
Description: PGP signature


--- End Message ---

Reply via email to