Your message dated Mon, 23 Mar 2026 15:37:04 +0300
with message-id <[email protected]>
and subject line Re: Bug#1131689: sphinx-toolbox: FTBFS: E   ImportError: 
cannot import name 'logger' from 'sphinx_autodoc_typehints'
has caused the Debian Bug report #1131689,
regarding sphinx-toolbox: FTBFS: E   ImportError: cannot import name 'logger' 
from 'sphinx_autodoc_typehints'
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.)


-- 
1131689: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1131689
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:sphinx-toolbox
Version: 4.1.0-1
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/202603/

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

Thanks.

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   debian/rules override_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_clean
rm -rf .mypy_cache .pytest_cache
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 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

[... snipped ...]


During handling of the above exception, another exception occurred:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_typevars.py:7: in <module>
    from sphinx_toolbox.more_autodoc import typevars
sphinx_toolbox/more_autodoc/typevars.py:125: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.14_sphinx_toolbox/build/tests/test_more_autodoc/test_variables.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sphinx_toolbox/build/tests/test_more_autodoc/test_variables.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.14/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_variables.py:11: in <module>
    from sphinx_toolbox.more_autodoc import variables
sphinx_toolbox/more_autodoc/variables.py:134: in <module>
    from sphinx_toolbox.more_autodoc.typehints import _resolve_forwardref, 
format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
=========================== short test summary info 
============================
ERROR tests/test_more_autodoc/test_autonamedtuple.py
ERROR tests/test_more_autodoc/test_autoprotocol.py
ERROR tests/test_more_autodoc/test_autotypeddict.py
ERROR tests/test_more_autodoc/test_generic_bases.py
ERROR tests/test_more_autodoc/test_genericalias.py
ERROR tests/test_more_autodoc/test_overloads.py
ERROR tests/test_more_autodoc/test_regex.py
ERROR tests/test_more_autodoc/test_typehints.py
ERROR tests/test_more_autodoc/test_typevars.py
ERROR tests/test_more_autodoc/test_variables.py
!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!
====================== 64 deselected, 10 errors 
in 0.72s =======================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_sphinx_toolbox/build; python3.14 -m 
pytest --ignore=tests/test_issues_output/test_source_output.py 
--ignore=tests/test_output/test_output.py 
--ignore=tests/test_more_autodoc/test_autodoc_typehints.py -W "ignore:Module 
already imported:pytest.PytestWarning" -W "ignore::DeprecationWarning" -W 
"ignore::PendingDeprecationWarning" -k 'not test_visit_issue_node and not 
test_latex_output and not test_output_github and not test_output_sphinx '
I: pybuild base:385: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build; python3.13 -m 
pytest --ignore=tests/test_issues_output/test_source_output.py 
--ignore=tests/test_output/test_output.py 
--ignore=tests/test_more_autodoc/test_autodoc_typehints.py -W "ignore:Module 
already imported:pytest.PytestWarning" -W "ignore::DeprecationWarning" -W 
"ignore::PendingDeprecationWarning" -k 'not test_visit_issue_node and not 
test_latex_output and not test_output_github and not test_output_sphinx '
============================= test session starts 
==============================
platform linux -- Python 3.13.12, pytest-9.0.2, pluggy-1.6.0
Test session started at 09:50:48
rootdir: /<<PKGBUILDDIR>>
configfile: tox.ini
plugins: pytest_httpserver-1.1.3, regressions-2.5.0+ds, hypothesis-6.151.9, 
datadir-1.4.1+ds, timeout-2.4.0
timeout: 600.0s
timeout method: signal
timeout func_only: False
collected 2354 items / 10 errors / 64 deselected / 2290 selected

==================================== ERRORS ====================================
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autonamedtuple.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autonamedtuple.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_autonamedtuple.py:6: in <module>
    from sphinx_toolbox.more_autodoc import autonamedtuple
sphinx_toolbox/more_autodoc/autonamedtuple.py:149: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autoprotocol.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autoprotocol.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_autoprotocol.py:6: in <module>
    from sphinx_toolbox.more_autodoc import autoprotocol
sphinx_toolbox/more_autodoc/autoprotocol.py:155: in <module>
    from sphinx_toolbox.more_autodoc.generic_bases import _add_generic_bases
sphinx_toolbox/more_autodoc/generic_bases.py:85: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autotypeddict.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_autotypeddict.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_autotypeddict.py:6: in <module>
    from sphinx_toolbox.more_autodoc import autotypeddict
sphinx_toolbox/more_autodoc/autotypeddict.py:146: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_generic_bases.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_generic_bases.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_generic_bases.py:6: in <module>
    from sphinx_toolbox.more_autodoc import generic_bases
sphinx_toolbox/more_autodoc/generic_bases.py:85: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_genericalias.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_genericalias.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_genericalias.py:6: in <module>
    from sphinx_toolbox.more_autodoc import genericalias
sphinx_toolbox/more_autodoc/genericalias.py:80: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_overloads.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_overloads.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_overloads.py:6: in <module>
    from sphinx_toolbox.more_autodoc import overloads
sphinx_toolbox/more_autodoc/overloads.py:110: in <module>
    from sphinx_toolbox.more_autodoc.typehints import _resolve_forwardref, 
default_preprocessors, format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_regex.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_regex.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_regex.py:13: in <module>
    from sphinx_toolbox.more_autodoc import regex
sphinx_toolbox/more_autodoc/regex.py:157: in <module>
    from sphinx_toolbox.more_autodoc.variables import VariableDocumenter
sphinx_toolbox/more_autodoc/variables.py:134: in <module>
    from sphinx_toolbox.more_autodoc.typehints import _resolve_forwardref, 
format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_typehints.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_typehints.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_typehints.py:27: in <module>
    from sphinx_toolbox.more_autodoc import typehints
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_typevars.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_typevars.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_typevars.py:7: in <module>
    from sphinx_toolbox.more_autodoc import typevars
sphinx_toolbox/more_autodoc/typevars.py:125: in <module>
    from sphinx_toolbox.more_autodoc.typehints import format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
_ ERROR collecting 
.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_variables.py
 _
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build/tests/test_more_autodoc/test_variables.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
sphinx_toolbox/more_autodoc/typehints.py:177: in <module>
    from sphinx_autodoc_typehints import logger as sat_logger  # type: 
ignore[attr-defined]
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
E   ImportError: cannot import name 'logger' from 'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)

During handling of the above exception, another exception occurred:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
tests/test_more_autodoc/test_variables.py:11: in <module>
    from sphinx_toolbox.more_autodoc import variables
sphinx_toolbox/more_autodoc/variables.py:134: in <module>
    from sphinx_toolbox.more_autodoc.typehints import _resolve_forwardref, 
format_annotation
sphinx_toolbox/more_autodoc/typehints.py:183: in <module>
    from sphinx_autodoc_typehints import _PYDATA_ANNOTATIONS as 
pydata_annotations
E   ImportError: cannot import name '_PYDATA_ANNOTATIONS' from 
'sphinx_autodoc_typehints' 
(/usr/lib/python3/dist-packages/sphinx_autodoc_typehints/__init__.py)
=========================== short test summary info 
============================
ERROR tests/test_more_autodoc/test_autonamedtuple.py
ERROR tests/test_more_autodoc/test_autoprotocol.py
ERROR tests/test_more_autodoc/test_autotypeddict.py
ERROR tests/test_more_autodoc/test_generic_bases.py
ERROR tests/test_more_autodoc/test_genericalias.py
ERROR tests/test_more_autodoc/test_overloads.py
ERROR tests/test_more_autodoc/test_regex.py
ERROR tests/test_more_autodoc/test_typehints.py
ERROR tests/test_more_autodoc/test_typevars.py
ERROR tests/test_more_autodoc/test_variables.py
!!!!!!!!!!!!!!!!!!! Interrupted: 10 errors during collection !!!!!!!!!!!!!!!!!!!
====================== 64 deselected, 10 errors 
in 0.73s =======================
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_sphinx_toolbox/build; python3.13 -m 
pytest --ignore=tests/test_issues_output/test_source_output.py 
--ignore=tests/test_output/test_output.py 
--ignore=tests/test_more_autodoc/test_autodoc_typehints.py -W "ignore:Module 
already imported:pytest.PytestWarning" -W "ignore::DeprecationWarning" -W 
"ignore::PendingDeprecationWarning" -k 'not test_visit_issue_node and not 
test_latex_output and not test_output_github and not test_output_sphinx '
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
3.13" --parallel=2 returned exit code 13
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit 
status 2
--------------------------------------------------------------------------------

--- End Message ---
--- Begin Message ---
Version: 4.1.2-1

Hi Santiago!

On Mon, Mar 23, 2026 at 11:55:47AM +0000, Santiago Vila wrote:
> Package: src:sphinx-toolbox
> Version: 4.1.0-1
> 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/202603/

It was fixed in today's upload.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature


--- End Message ---

Reply via email to