Package: src:python-pdoc
Version: 15.0.1-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 --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: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_pdoc  
* Building wheel...
running bdist_wheel
running build
running build_py
creating build/lib/pdoc
copying pdoc/search.py -> build/lib/pdoc
copying pdoc/extract.py -> build/lib/pdoc
copying pdoc/render_helpers.py -> build/lib/pdoc
copying pdoc/__main__.py -> build/lib/pdoc
copying pdoc/doc_pyi.py -> build/lib/pdoc
copying pdoc/doc_types.py -> build/lib/pdoc
copying pdoc/web.py -> build/lib/pdoc
copying pdoc/doc_ast.py -> build/lib/pdoc
copying pdoc/render.py -> build/lib/pdoc
copying pdoc/doc.py -> build/lib/pdoc
copying pdoc/_compat.py -> build/lib/pdoc
copying pdoc/__init__.py -> build/lib/pdoc
copying pdoc/docstrings.py -> build/lib/pdoc
creating build/lib/pdoc/markdown2
copying pdoc/markdown2/__init__.py -> build/lib/pdoc/markdown2
running egg_info
creating pdoc.egg-info
writing pdoc.egg-info/PKG-INFO
writing dependency_links to pdoc.egg-info/dependency_links.txt
writing entry points to pdoc.egg-info/entry_points.txt
writing requirements to pdoc.egg-info/requires.txt
writing top-level names to pdoc.egg-info/top_level.txt
writing manifest file 'pdoc.egg-info/SOURCES.txt'
reading manifest file 'pdoc.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no directories found matching 'requirements'
no previously-included directories found matching '**/.mypy_cache'
no previously-included directories found matching '**/__pycache__'
adding license file 'LICENSE'
writing manifest file 'pdoc.egg-info/SOURCES.txt'
copying pdoc/py.typed -> build/lib/pdoc
creating build/lib/pdoc/templates
copying pdoc/templates/README.md -> build/lib/pdoc/templates
copying pdoc/templates/build-search-index.js -> build/lib/pdoc/templates
copying pdoc/templates/content.css -> build/lib/pdoc/templates
copying pdoc/templates/custom.css -> build/lib/pdoc/templates
copying pdoc/templates/layout.css -> build/lib/pdoc/templates
copying pdoc/templates/livereload.html.jinja2 -> build/lib/pdoc/templates
copying pdoc/templates/math.html.jinja2 -> build/lib/pdoc/templates
copying pdoc/templates/mermaid.html.jinja2 -> build/lib/pdoc/templates
copying pdoc/templates/search.html.jinja2 -> build/lib/pdoc/templates
copying pdoc/templates/search.js.jinja2 -> build/lib/pdoc/templates
copying pdoc/templates/syntax-highlighting.css -> build/lib/pdoc/templates
copying pdoc/templates/theme.css -> build/lib/pdoc/templates
copying pdoc/markdown2/LICENSE -> build/lib/pdoc/markdown2
copying pdoc/markdown2/README.md -> build/lib/pdoc/markdown2
creating build/lib/pdoc/templates/default
copying pdoc/templates/default/error.html.jinja2 -> 
build/lib/pdoc/templates/default
copying pdoc/templates/default/frame.html.jinja2 -> 
build/lib/pdoc/templates/default
copying pdoc/templates/default/index.html.jinja2 -> 
build/lib/pdoc/templates/default
copying pdoc/templates/default/module.html.jinja2 -> 
build/lib/pdoc/templates/default
creating build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/README.md -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/bootstrap-reboot.min.css -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/box-arrow-in-left.svg -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/elasticlunr.min.js -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/favicon.svg -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/navtoggle.svg -> 
build/lib/pdoc/templates/deprecated
copying pdoc/templates/deprecated/pdoc-logo.svg -> 
build/lib/pdoc/templates/deprecated
creating build/lib/pdoc/templates/resources
copying pdoc/templates/resources/bootstrap-reboot.min.css -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/box-arrow-in-left.svg -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/elasticlunr.min.js -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/exclamation-triangle-fill.svg -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/info-circle-fill.svg -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/lightning-fill.svg -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/navtoggle.svg -> 
build/lib/pdoc/templates/resources
copying pdoc/templates/resources/pdoc-logo.svg -> 
build/lib/pdoc/templates/resources
creating build/lib/pdoc/templates/deprecated/resources
copying pdoc/templates/deprecated/resources/favicon.svg -> 
build/lib/pdoc/templates/deprecated/resources
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/pdoc
copying build/lib/pdoc/search.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/extract.py -> build/bdist.linux-x86_64/wheel/./pdoc
creating build/bdist.linux-x86_64/wheel/pdoc/templates
copying build/lib/pdoc/templates/math.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/build-search-index.js -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/livereload.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/mermaid.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/syntax-highlighting.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/layout.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
creating build/bdist.linux-x86_64/wheel/pdoc/templates/default
copying build/lib/pdoc/templates/default/frame.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/default
copying build/lib/pdoc/templates/default/module.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/default
copying build/lib/pdoc/templates/default/index.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/default
copying build/lib/pdoc/templates/default/error.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/default
creating build/bdist.linux-x86_64/wheel/pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/bootstrap-reboot.min.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/elasticlunr.min.js -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/navtoggle.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
creating build/bdist.linux-x86_64/wheel/pdoc/templates/deprecated/resources
copying build/lib/pdoc/templates/deprecated/resources/favicon.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated/resources
copying build/lib/pdoc/templates/deprecated/box-arrow-in-left.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/favicon.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/README.md -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/deprecated/pdoc-logo.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
copying build/lib/pdoc/templates/search.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
creating build/bdist.linux-x86_64/wheel/pdoc/templates/resources
copying build/lib/pdoc/templates/resources/bootstrap-reboot.min.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/lightning-fill.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/elasticlunr.min.js -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/navtoggle.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/info-circle-fill.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/box-arrow-in-left.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/exclamation-triangle-fill.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/resources/pdoc-logo.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/theme.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/custom.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/content.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/README.md -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/search.js.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/render_helpers.py -> 
build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/__main__.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/doc_pyi.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/doc_types.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/web.py -> build/bdist.linux-x86_64/wheel/./pdoc
creating build/bdist.linux-x86_64/wheel/pdoc/markdown2
copying build/lib/pdoc/markdown2/LICENSE -> 
build/bdist.linux-x86_64/wheel/./pdoc/markdown2
copying build/lib/pdoc/markdown2/README.md -> 
build/bdist.linux-x86_64/wheel/./pdoc/markdown2
copying build/lib/pdoc/markdown2/__init__.py -> 
build/bdist.linux-x86_64/wheel/./pdoc/markdown2
copying build/lib/pdoc/doc_ast.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/render.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/py.typed -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/doc.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/_compat.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/__init__.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/docstrings.py -> build/bdist.linux-x86_64/wheel/./pdoc
running install_egg_info
Copying pdoc.egg-info to build/bdist.linux-x86_64/wheel/./pdoc-15.0.1.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/pdoc-15.0.1.dist-info/WHEEL
creating 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/.tmp-vzboz_72/pdoc-15.0.1-py3-none-any.whl'
 and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'pdoc/__init__.py'
adding 'pdoc/__main__.py'
adding 'pdoc/_compat.py'
adding 'pdoc/doc.py'
adding 'pdoc/doc_ast.py'
adding 'pdoc/doc_pyi.py'
adding 'pdoc/doc_types.py'
adding 'pdoc/docstrings.py'
adding 'pdoc/extract.py'
adding 'pdoc/py.typed'
adding 'pdoc/render.py'
adding 'pdoc/render_helpers.py'
adding 'pdoc/search.py'
adding 'pdoc/web.py'
adding 'pdoc/markdown2/LICENSE'
adding 'pdoc/markdown2/README.md'
adding 'pdoc/markdown2/__init__.py'
adding 'pdoc/templates/README.md'
adding 'pdoc/templates/build-search-index.js'
adding 'pdoc/templates/content.css'
adding 'pdoc/templates/custom.css'
adding 'pdoc/templates/layout.css'
adding 'pdoc/templates/livereload.html.jinja2'
adding 'pdoc/templates/math.html.jinja2'
adding 'pdoc/templates/mermaid.html.jinja2'
adding 'pdoc/templates/search.html.jinja2'
adding 'pdoc/templates/search.js.jinja2'
adding 'pdoc/templates/syntax-highlighting.css'
adding 'pdoc/templates/theme.css'
adding 'pdoc/templates/default/error.html.jinja2'
adding 'pdoc/templates/default/frame.html.jinja2'
adding 'pdoc/templates/default/index.html.jinja2'
adding 'pdoc/templates/default/module.html.jinja2'
adding 'pdoc/templates/deprecated/README.md'
adding 'pdoc/templates/deprecated/bootstrap-reboot.min.css'
adding 'pdoc/templates/deprecated/box-arrow-in-left.svg'
adding 'pdoc/templates/deprecated/elasticlunr.min.js'
adding 'pdoc/templates/deprecated/favicon.svg'
adding 'pdoc/templates/deprecated/navtoggle.svg'
adding 'pdoc/templates/deprecated/pdoc-logo.svg'
adding 'pdoc/templates/deprecated/resources/favicon.svg'
adding 'pdoc/templates/resources/bootstrap-reboot.min.css'
adding 'pdoc/templates/resources/box-arrow-in-left.svg'
adding 'pdoc/templates/resources/elasticlunr.min.js'
adding 'pdoc/templates/resources/exclamation-triangle-fill.svg'
adding 'pdoc/templates/resources/info-circle-fill.svg'
adding 'pdoc/templates/resources/lightning-fill.svg'
adding 'pdoc/templates/resources/navtoggle.svg'
adding 'pdoc/templates/resources/pdoc-logo.svg'
adding 'pdoc-15.0.1.dist-info/LICENSE'
adding 'pdoc-15.0.1.dist-info/METADATA'
adding 'pdoc-15.0.1.dist-info/WHEEL'
adding 'pdoc-15.0.1.dist-info/entry_points.txt'
adding 'pdoc-15.0.1.dist-info/top_level.txt'
adding 'pdoc-15.0.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built pdoc-15.0.1-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_pdoc/build; 
python3.13 -m pytest -k 'not test_walk_specs and not test_parse_spec and not 
test_snapshots[html-flavors_rst] and not 
test_snapshots[html-example_customtemplate] and not 
test_snapshots[html-example_darkmode] and not 
test_snapshots[html-example_mkdocs] and not test_snapshots[html-demo_long] and 
not test_snapshots[html-demopackage_dir] and not 
snapshots[repr-pyo3_sample_library] and not 
test_snapshots[html-pyo3_sample_library] and not 
test_snapshots[repr-misc_py312]'
============================= test session starts ==============================
platform linux -- Python 3.13.2, pytest-8.3.5, pluggy-1.5.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build
configfile: pyproject.toml
testpaths: test
plugins: hypothesis-6.127.4, typeguard-4.4.2, cov-5.0.0
collected 340 items / 12 deselected / 328 selected

test/test_doc.py ............                                            [  3%]
test/test_doc_ast.py .....                                               [  5%]
test/test_doc_pyi.py ..                                                  [  5%]
test/test_doc_types.py ........                                          [  8%]
test/test_docstrings.py ..........                                       [ 11%]
test/test_extract.py ...                                                 [ 12%]
test/test_main.py ......                                                 [ 14%]
test/test_render_helpers.py .............................                [ 22%]
test/test_search.py .                                                    [ 23%]
test/test_smoke.py ..................................................... [ 39%]
........................................................................ [ 61%]
.......................................................................  [ 82%]
test/test_snapshot.py ........................F......................    [ 97%]
test/test_web.py .........                                               [100%]

=================================== FAILURES ===================================
__________________________ test_snapshots[repr-enums] __________________________

snapshot = Snapshot(enums), format = 'repr'
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f7b8df13310>

    @pytest.mark.parametrize("snapshot", snapshots, ids=[x.id for x in 
snapshots])
    @pytest.mark.parametrize("format", ["html", "repr"])
    def test_snapshots(snapshot: Snapshot, format: str, monkeypatch):
        """
        Compare pdoc's rendered output against stored snapshots.
        """
        monkeypatch.chdir(snapshot_dir)
        if sys.version_info < snapshot.min_version:
            pytest.skip(
                f"Snapshot only works on Python {'.'.join(str(x) for x in 
snapshot.min_version)} and above."
            )
        expected = snapshot.outfile(format).read_text("utf8")
        actual = snapshot.make(format)
>       assert actual == expected, (
            f"Rendered output does not match for snapshot {snapshot.id}. "
            "Run `python3 ./test/test_snapshot.py` to update snapshots."
        )
E       AssertionError: Rendered output does not match for snapshot enums. Run 
`python3 ./test/test_snapshot.py` to update snapshots.
E       assert '<module enum...n…>\n    >\n>' == '<module enum...n…>\n    
>\n>'
E         
E         Skipping 7185 identical leading characters in diff, use -v to show
E         Skipping 458 identical trailing characters in diff, use -v to show
E         - n True if the s…>
E         + n True if all c…>

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/test/test_snapshot.py:185: 
AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441
  /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1441: 
PytestConfigWarning: Unknown config option: timeout
  
    self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")

test/test_doc_types.py::test_eval_fail2
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation xyz for a. Import of xyz failed: 
name 'xyz' is not defined
    warnings.warn(

test/test_docstrings.py::test_rst_include_invalid_options
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/pdoc/docstrings.py:412: 
UserWarning: Cannot include '../README.md': [Errno 2] No such file or 
directory: 
'/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/test/../README.md'
    warnings.warn(f"Cannot include {val!r}: {e}")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_snapshot.py::test_snapshots[repr-enums] - AssertionError: Re...
========== 1 failed, 327 passed, 12 deselected, 3 warnings in 25.22s ===========
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build; python3.13 -m pytest -k 
'not test_walk_specs and not test_parse_spec and not 
test_snapshots[html-flavors_rst] and not 
test_snapshots[html-example_customtemplate] and not 
test_snapshots[html-example_darkmode] and not 
test_snapshots[html-example_mkdocs] and not test_snapshots[html-demo_long] and 
not test_snapshots[html-demopackage_dir] and not 
snapshots[repr-pyo3_sample_library] and not 
test_snapshots[html-pyo3_sample_library] and not 
test_snapshots[repr-misc_py312]'
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 
returned exit code 13
make: *** [debian/rules:20: 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:python-pdoc, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to