Package: src:mkdocstrings-python-legacy
Version: 0.2.4-1
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem=pybuild
   dh_auto_clean -O--buildsystem=pybuild
   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
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_mkdocstrings  
* Building wheel...
 - Adding src/mkdocstrings_handlers/py.typed -> mkdocstrings_handlers/py.typed
 - Adding src/mkdocstrings_handlers/python/__init__.py -> 
mkdocstrings_handlers/python/__init__.py
 - Adding src/mkdocstrings_handlers/python/debug.py -> 
mkdocstrings_handlers/python/debug.py
 - Adding src/mkdocstrings_handlers/python/handler.py -> 
mkdocstrings_handlers/python/handler.py
 - Adding src/mkdocstrings_handlers/python/rendering.py -> 
mkdocstrings_handlers/python/rendering.py
 - Adding src/mkdocstrings_handlers/python/templates/material/attribute.html -> 
mkdocstrings_handlers/python/templates/material/attribute.html
 - Adding src/mkdocstrings_handlers/python/templates/material/attributes.html 
-> mkdocstrings_handlers/python/templates/material/attributes.html
 - Adding src/mkdocstrings_handlers/python/templates/material/children.html -> 
mkdocstrings_handlers/python/templates/material/children.html
 - Adding src/mkdocstrings_handlers/python/templates/material/class.html -> 
mkdocstrings_handlers/python/templates/material/class.html
 - Adding src/mkdocstrings_handlers/python/templates/material/docstring.html -> 
mkdocstrings_handlers/python/templates/material/docstring.html
 - Adding src/mkdocstrings_handlers/python/templates/material/examples.html -> 
mkdocstrings_handlers/python/templates/material/examples.html
 - Adding src/mkdocstrings_handlers/python/templates/material/exceptions.html 
-> mkdocstrings_handlers/python/templates/material/exceptions.html
 - Adding src/mkdocstrings_handlers/python/templates/material/function.html -> 
mkdocstrings_handlers/python/templates/material/function.html
 - Adding src/mkdocstrings_handlers/python/templates/material/keyword_args.html 
-> mkdocstrings_handlers/python/templates/material/keyword_args.html
 - Adding src/mkdocstrings_handlers/python/templates/material/method.html -> 
mkdocstrings_handlers/python/templates/material/method.html
 - Adding src/mkdocstrings_handlers/python/templates/material/module.html -> 
mkdocstrings_handlers/python/templates/material/module.html
 - Adding src/mkdocstrings_handlers/python/templates/material/parameters.html 
-> mkdocstrings_handlers/python/templates/material/parameters.html
 - Adding src/mkdocstrings_handlers/python/templates/material/properties.html 
-> mkdocstrings_handlers/python/templates/material/properties.html
 - Adding src/mkdocstrings_handlers/python/templates/material/return.html -> 
mkdocstrings_handlers/python/templates/material/return.html
 - Adding src/mkdocstrings_handlers/python/templates/material/signature.html -> 
mkdocstrings_handlers/python/templates/material/signature.html
 - Adding src/mkdocstrings_handlers/python/templates/material/style.css -> 
mkdocstrings_handlers/python/templates/material/style.css
 - Adding src/mkdocstrings_handlers/python/templates/material/yield.html -> 
mkdocstrings_handlers/python/templates/material/yield.html
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/exceptions.html -> 
mkdocstrings_handlers/python/templates/mkdocs/exceptions.html
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/keyword_args.html 
-> mkdocstrings_handlers/python/templates/mkdocs/keyword_args.html
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/parameters.html -> 
mkdocstrings_handlers/python/templates/mkdocs/parameters.html
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/return.html -> 
mkdocstrings_handlers/python/templates/mkdocs/return.html
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/style.css -> 
mkdocstrings_handlers/python/templates/mkdocs/style.css
 - Adding src/mkdocstrings_handlers/python/templates/mkdocs/yield.html -> 
mkdocstrings_handlers/python/templates/mkdocs/yield.html
 - Adding 
src/mkdocstrings_handlers/python/templates/readthedocs/exceptions.html -> 
mkdocstrings_handlers/python/templates/readthedocs/exceptions.html
 - Adding 
src/mkdocstrings_handlers/python/templates/readthedocs/keyword_args.html -> 
mkdocstrings_handlers/python/templates/readthedocs/keyword_args.html
 - Adding 
src/mkdocstrings_handlers/python/templates/readthedocs/parameters.html -> 
mkdocstrings_handlers/python/templates/readthedocs/parameters.html
 - Adding src/mkdocstrings_handlers/python/templates/readthedocs/return.html -> 
mkdocstrings_handlers/python/templates/readthedocs/return.html
 - Adding src/mkdocstrings_handlers/python/templates/readthedocs/style.css -> 
mkdocstrings_handlers/python/templates/readthedocs/style.css
 - Adding src/mkdocstrings_handlers/python/templates/readthedocs/yield.html -> 
mkdocstrings_handlers/python/templates/readthedocs/yield.html
 - Adding .pdm-build/mkdocstrings_python_legacy-0.2.4.dist-info/METADATA -> 
mkdocstrings_python_legacy-0.2.4.dist-info/METADATA
 - Adding .pdm-build/mkdocstrings_python_legacy-0.2.4.dist-info/WHEEL -> 
mkdocstrings_python_legacy-0.2.4.dist-info/WHEEL
 - Adding 
.pdm-build/mkdocstrings_python_legacy-0.2.4.dist-info/entry_points.txt -> 
mkdocstrings_python_legacy-0.2.4.dist-info/entry_points.txt
 - Adding 
.pdm-build/mkdocstrings_python_legacy-0.2.4.dist-info/licenses/LICENSE -> 
mkdocstrings_python_legacy-0.2.4.dist-info/licenses/LICENSE
 - Adding mkdocstrings_python_legacy-0.2.4.dist-info/RECORD -> 
mkdocstrings_python_legacy-0.2.4.dist-info/RECORD
Successfully built mkdocstrings_python_legacy-0.2.4-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 pybuild:308: cp -r /<<PKGBUILDDIR>>/docs /<<PKGBUILDDIR>>/mkdocs.yml 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/build
I: pybuild base:311: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/build; python3.13 -m 
pytest tests
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/build
configfile: pyproject.toml
collected 21 items / 2 errors

==================================== ERRORS ====================================
___________________ ERROR collecting tests/test_collector.py ___________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/build/tests/test_collector.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_collector.py:6: in <module>
    from mkdocstrings.handlers.base import CollectionError
/usr/lib/python3/dist-packages/mkdocstrings/handlers/base.py:26: in <module>
    from mkdocs_get_deps.cache import download_and_cache_url
E   ModuleNotFoundError: No module named 'mkdocs_get_deps'
___________________ ERROR collecting tests/test_renderer.py ____________________
ImportError while importing test module 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/build/tests/test_renderer.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/usr/lib/python3.13/importlib/__init__.py:88: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_renderer.py:7: in <module>
    from mkdocstrings_handlers.python.rendering import (
mkdocstrings_handlers/python/__init__.py:3: in <module>
    from mkdocstrings_handlers.python.handler import get_handler
mkdocstrings_handlers/python/handler.py:16: in <module>
    from mkdocstrings.extension import PluginError
/usr/lib/python3/dist-packages/mkdocstrings/extension.py:38: in <module>
    from mkdocstrings.handlers.base import BaseHandler, CollectionError, 
CollectorItem, Handlers
/usr/lib/python3/dist-packages/mkdocstrings/handlers/base.py:26: in <module>
    from mkdocs_get_deps.cache import download_and_cache_url
E   ModuleNotFoundError: No module named 'mkdocs_get_deps'
=========================== short test summary info ============================
ERROR tests/test_collector.py
ERROR tests/test_renderer.py
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
============================== 2 errors in 0.10s ===============================
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=2: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_mkdocstrings/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:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202503/

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 could not 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:mkdocstrings-python-legacy, so that this is 
still
visible in the BTS web page for this package.

Thanks.

Reply via email to