Package: src:python-pdoc
Version: 15.0.1-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/202510/

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-pdoc, 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: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...
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82: 
SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
!!

        
********************************************************************************
        Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).

        By 2026-Feb-18, you need to update your project and remove deprecated 
calls
        or your builds will no longer be supported.

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  corresp(dist, value, root_dir)
/usr/lib/python3/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: Public Domain

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  dist._finalize_license_expression()
/usr/lib/python3/dist-packages/setuptools/dist.py:759: 
SetuptoolsDeprecationWarning: License classifiers are deprecated.
!!

        
********************************************************************************
        Please consider removing the following classifiers in favor of a SPDX 
license expression:

        License :: Public Domain

        See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
        
********************************************************************************

!!
  self._finalize_license_expression()
running bdist_wheel
running build
running build_py
creating build/lib/pdoc
copying pdoc/doc.py -> build/lib/pdoc
copying pdoc/__init__.py -> build/lib/pdoc
copying pdoc/doc_ast.py -> build/lib/pdoc
copying pdoc/web.py -> build/lib/pdoc
copying pdoc/__main__.py -> build/lib/pdoc
copying pdoc/docstrings.py -> build/lib/pdoc
copying pdoc/render.py -> build/lib/pdoc
copying pdoc/doc_pyi.py -> build/lib/pdoc
copying pdoc/extract.py -> build/lib/pdoc
copying pdoc/render_helpers.py -> build/lib/pdoc
copying pdoc/_compat.py -> build/lib/pdoc
copying pdoc/search.py -> build/lib/pdoc
copying pdoc/doc_types.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
copying pdoc/markdown2/LICENSE -> build/lib/pdoc/markdown2
copying pdoc/markdown2/README.md -> build/lib/pdoc/markdown2
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
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/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/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/doc.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/doc_ast.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/web.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/docstrings.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/render.py -> build/bdist.linux-x86_64/wheel/./pdoc
creating 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/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/py.typed -> build/bdist.linux-x86_64/wheel/./pdoc
creating 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/layout.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/math.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
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/pdoc-logo.svg -> 
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
copying build/lib/pdoc/templates/deprecated/favicon.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/README.md -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/deprecated
creating 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/bootstrap-reboot.min.css -> 
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/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/box-arrow-in-left.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/lightning-fill.svg -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates/resources
copying build/lib/pdoc/templates/search.js.jinja2 -> 
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/custom.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/theme.css -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
copying build/lib/pdoc/templates/search.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/mermaid.html.jinja2 -> 
build/bdist.linux-x86_64/wheel/./pdoc/templates
creating 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
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/doc_pyi.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/extract.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/render_helpers.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/search.py -> build/bdist.linux-x86_64/wheel/./pdoc
copying build/lib/pdoc/doc_types.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-sjobb2g1/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/licenses/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.8, pytest-8.4.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build
configfile: pyproject.toml
testpaths: test
plugins: hypothesis-6.140.2, typeguard-4.4.4, cov-5.0.0
collected 339 items / 12 deselected / 327 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..........................F...........    [ 97%]
test/test_web.py .........                                               [100%]

=================================== FAILURES ===================================
__________________________ test_snapshots[html-misc] ___________________________

snapshot = Snapshot(misc), format = 'html'
monkeypatch = <_pytest.monkeypatch.MonkeyPatch object at 0x7f98ec6810f0>

    @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 misc. Run 
`python3 ./test/test_snapshot.py` to update snapshots.
E       assert '<!doctype ht...ody>\n</html>' == '<!doctype ht...ody>\n</html>'
E         
E         Skipping 164807 identical leading characters in diff, use -v to show
E         +           
E         -                   <div class="decorator 
decorator-lru_cache">@lru_cache()</div>
E         - 
E                   <span class="def">def</span>
E                   <span class="name">foo_commented</span><span 
class="signature pdoc-code condensed">(<span class="param"><span 
class="bp">self</span></span><span class="return-annotation">):</span></span>...
E         
E         ...Full output truncated (963 lines hidden), use '-vv' to show

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/test/test_snapshot.py:185: 
AssertionError
__________________________ test_snapshots[repr-misc] ___________________________

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

    @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 misc. Run 
`python3 ./test/test_snapshot.py` to update snapshots.
E       assert '<module misc...__>\n    >\n>' == '<module misc...__>\n    >\n>'
E         
E         Skipping 1748 identical leading characters in diff, use -v to show
E           
E         -         <@lru_cache() method def foo_commented(self): ...  # no 
indents>
E         ?          -------------
E         +         <method def foo_commented(self): ...  # no indents>
E                   <@lru_cache() method def bar_decorated(self): ...  # no...
E         
E         ...Full output truncated (80 lines hidden), use '-vv' to show

/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/test/test_snapshot.py:185: 
AssertionError
=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1474
  /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1474: 
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}")

test/test_snapshot.py::test_snapshots[html-misc]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build/pdoc/doc_ast.py:276: 
UserWarning: Error parsing source code: expected an indented block after 
function definition on line 3 (<unknown>, line 3)
  ===
      @lru_cache()
      # comment
      def foo_commented(self):
  
  ===
    warnings.warn(f"Error parsing source code: {e}\n" f"===\n" f"{source}\n" 
f"===")

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_snapshot.py::test_snapshots[html-misc] - AssertionError: Ren...
FAILED test/test_snapshot.py::test_snapshots[repr-misc] - AssertionError: Ren...
========== 2 failed, 325 passed, 12 deselected, 4 warnings in 25.95s ===========
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
--------------------------------------------------------------------------------

Reply via email to