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

[... snipped ...]

        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 type_stubs. 
Run `python3 ./test/test_snapshot.py` to update snapshots.
E       assert '<module type...__>\n    >\n>' == '<module type...__>\n    >\n>'
E         
E         Skipping 76 identical leading characters in diff, use -v to show
E         - : Any, z: Iterable[str]) -> int: ...  # A simple function.>
E         + : Any, z: 'Iterable[str]') -> int: ...  # A simple function.>
E         ?           +             +
E               <var var: list[str] = []  # Docstring override f…>
E               <class type_stubs.Class...
E         
E         ...Full output truncated (15 lines hidden), use '-vv' to show

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

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for demo_long.FOO_CONSTANT. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation 'Foo' for demo_long.FOO_SINGLETON. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for demo_long.NO_DOCSTRING. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation Union[str, List['int']] for 
demo_long.Foo.an_attribute. Import of ForwardRef.__forward_evaluated__ failed: 
'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation ClassVar[str] for 
demo_long.Foo.a_class_attribute. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for 
demo_long.Foo.a_constructor_only_attribute. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation str for demo_long.Foo.a_property. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation str for 
demo_long.Foo.a_cached_property. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
test/test_doc.py::test_source_file_method
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for 
demo_long.Foo.a_class_property. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation 'Foo' for 
demo_long.Foo.a_regular_function. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation str for 
demo_long.Foo.a_cached_function. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc.py::test_attrs
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for 
demo_long.Foo.a_class_method. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_doc_types.py::test_eval_fail2
test/test_doc_types.py::test_eval_fail_import_nonexistent
test/test_doc_types.py::test_recurse
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation xyz for a. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_doc_types.py::test_eval_fail3
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation FooFn[int] for a. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_doc_types.py::test_eval_union_types_on_old_python
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation "foo" | "bar" for example. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

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

test/test_snapshot.py::test_snapshots[html-demo]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation list['Dog'] for demo.Dog.friends. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-demo_eager]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation typing.List[ForwardRef('int')] for 
demo_eager.bar. Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' 
object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-demo_eager]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation list['int'] for demo_eager.bar. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-demopackage]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation typing.Type[B] for 
demopackage.child_b.B.b_type. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation SubClass for 
misc.SubclassRef.__init__. Import of ForwardRef.__forward_evaluated__ failed: 
'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py310]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int | dict[str, 'Foo'] for 
misc_py310.new_union. Import of ForwardRef.__forward_evaluated__ failed: 
'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation MyType for misc_py312.foo. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation typing.TypeAlias for 
misc_py312.MyTypeClassic. Import of ForwardRef.__forward_evaluated__ failed: 
'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation ForwardRef('str') for 
misc_py312.NamedTupleExample.name. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation ForwardRef('int') for 
misc_py312.NamedTupleExample.id. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation ForwardRef('str') for 
misc_py312.NamedTupleExample.__init__. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-misc_py312]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation ForwardRef('int') for 
misc_py312.NamedTupleExample.__init__. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-mermaid_demo]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation list['Pet'] for 
mermaid_demo.Pet.friends. Import of ForwardRef.__forward_evaluated__ failed: 
'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_checking_imports]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation Sequence[int] for 
type_checking_imports.main.var. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_checking_imports]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation StrOrInt for 
type_checking_imports.main.imported_from_cached_module. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_checking_imports]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation StrOrBool for 
type_checking_imports.main.imported_from_uncached_module. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_checking_imports]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation Sequence[str] for 
type_checking_imports.main.foo. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_checking_imports]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation Dict[str, str] for 
type_checking_imports.main.foo. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[html-type_stubs]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation Iterable[str] for type_stubs.func. 
Import of ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no 
attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation 'Foo' for 
demo_long.Bar.a_regular_function. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation str for 
demo_long.Bar.a_cached_function. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for 
demo_long.Bar.a_class_method. Import of ForwardRef.__forward_evaluated__ 
failed: 'ForwardRef' object has no attribute '__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation 'Foo' for 
demo_long.DoubleInherit.a_regular_function. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation str for 
demo_long.DoubleInherit.a_cached_function. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

test/test_snapshot.py::test_snapshots[repr-demo_long]
  /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build/pdoc/doc_types.py:148: 
UserWarning: Error parsing type annotation int for 
demo_long.DoubleInherit.a_class_method. Import of 
ForwardRef.__forward_evaluated__ failed: 'ForwardRef' object has no attribute 
'__forward_evaluated__'
    warnings.warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED test/test_doc.py::test_attrs - AssertionError: assert []
FAILED test/test_doc_types.py::test_eval_fail3 - Failed: DID NOT WARN. No war...
FAILED test/test_doc_types.py::test_eval_union_types_on_old_python - Failed: ...
FAILED test/test_snapshot.py::test_snapshots[html-demo] - AssertionError: Ren...
FAILED test/test_snapshot.py::test_snapshots[html-demo_eager] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[html-demopackage] - AssertionErr...
FAILED test/test_snapshot.py::test_snapshots[html-misc] - AssertionError: Ren...
FAILED test/test_snapshot.py::test_snapshots[html-misc_py310] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[html-misc_py312] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[html-mermaid_demo] - AssertionEr...
FAILED test/test_snapshot.py::test_snapshots[html-type_checking_imports] - As...
FAILED test/test_snapshot.py::test_snapshots[html-typed_dict] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[html-type_stubs] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[repr-demo] - AssertionError: Ren...
FAILED test/test_snapshot.py::test_snapshots[repr-example_customtemplate] - A...
FAILED test/test_snapshot.py::test_snapshots[repr-example_darkmode] - Asserti...
FAILED test/test_snapshot.py::test_snapshots[repr-example_mkdocs] - Assertion...
FAILED test/test_snapshot.py::test_snapshots[repr-demo_long] - AssertionError...
FAILED test/test_snapshot.py::test_snapshots[repr-demo_eager] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[repr-demopackage] - AssertionErr...
FAILED test/test_snapshot.py::test_snapshots[repr-misc] - AssertionError: Ren...
FAILED test/test_snapshot.py::test_snapshots[repr-misc_py310] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[repr-misc_py313] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[repr-mermaid_demo] - AssertionEr...
FAILED test/test_snapshot.py::test_snapshots[repr-type_checking_imports] - As...
FAILED test/test_snapshot.py::test_snapshots[repr-typed_dict] - AssertionErro...
FAILED test/test_snapshot.py::test_snapshots[repr-type_stubs] - AssertionErro...
========= 27 failed, 300 passed, 12 deselected, 53 warnings in 26.38s ==========
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_pdoc/build; python3.14 -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]'
I: pybuild base:317: 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.11, pytest-9.0.2, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_pdoc/build
configfile: pyproject.toml
testpaths: test
plugins: cov-5.0.0, typeguard-4.4.4, hypothesis-6.148.2
collected 337 items / 12 deselected / 325 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 .............................                [ 23%]
test/test_search.py .                                                    [ 23%]
test/test_smoke.py ..................................................... [ 39%]
........................................................................ [ 61%]
....................................................................     [ 82%]
test/test_snapshot.py ...............................................    [ 97%]
test/test_web.py .........                                               [100%]

=============================== warnings summary ===============================
../../../../../../usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428
  /usr/lib/python3/dist-packages/_pytest/config/__init__.py:1428: 
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
=============== 325 passed, 12 deselected, 3 warnings in 26.02s ================
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.14 
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