Source: python-npe2
Version: 0.7.2-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: [email protected]
Usertags: ftbfs-20240615 ftbfs-trixie
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> 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.12 with "build"
> module
> I: pybuild base:311: python3.12 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2
> * Building wheel...
> Successfully built npe2-0.7.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with
> "installer" module
> I: pybuild plugin_pyproject:129: Building wheel for python3.11 with "build"
> module
> I: pybuild base:311: python3.11 -m build --skip-dependency-check
> --no-isolation --wheel --outdir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_npe2
> * Building wheel...
> Successfully built npe2-0.7.2-py3-none-any.whl
> I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.11 with
> "installer" module
> dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build;
> python3.12 -m unittest discover -v
> npe2 (unittest.loader._FailedTest.npe2) ... ERROR
>
> ======================================================================
> ERROR: npe2 (unittest.loader._FailedTest.npe2)
> ----------------------------------------------------------------------
> ImportError: Failed to import test module: npe2
> Traceback (most recent call last):
> File "/usr/lib/python3.12/unittest/loader.py", line 429, in _find_test_path
> package = self._get_module_from_name(name)
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> File "/usr/lib/python3.12/unittest/loader.py", line 339, in
> _get_module_from_name
> __import__(name)
> File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/__init__.py",
> line 11, in <module>
> from ._dynamic_plugin import DynamicPlugin
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/_dynamic_plugin.py",
> line 19, in <module>
> from ._plugin_manager import PluginManager
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/_plugin_manager.py",
> line 31, in <module>
> from ._command_registry import CommandRegistry
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/_command_registry.py",
> line 9, in <module>
> from .manifest import utils
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/manifest/__init__.py",
> line 2, in <module>
> from .schema import ENTRY_POINT, PluginManifest
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/manifest/schema.py",
> line 20, in <module>
> from .contributions import ContributionPoints
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/manifest/contributions/__init__.py",
> line 2, in <module>
> from ._configuration import ConfigurationContribution,
> ConfigurationProperty
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/manifest/contributions/_configuration.py",
> line 5, in <module>
> from ._json_schema import (
> File
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build/npe2/manifest/contributions/_json_schema.py",
> line 200, in <module>
> class Draft04JsonSchema(_JsonSchemaBase):
> File "pydantic/main.py", line 286, in pydantic.main.ModelMetaclass.__new__
> File "pydantic/main.py", line 807, in
> pydantic.main.BaseModel.__try_update_forward_refs__
> File "pydantic/typing.py", line 554, in
> pydantic.typing.update_model_forward_refs
> File "pydantic/typing.py", line 520, in
> pydantic.typing.update_field_forward_refs
> File "pydantic/typing.py", line 66, in pydantic.typing.evaluate_forwardref
> TypeError: ForwardRef._evaluate() missing 1 required keyword-only argument:
> 'recursive_guard'
>
>
> ----------------------------------------------------------------------
> Ran 1 test in 0.000s
>
> FAILED (errors=1)
> E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12_npe2/build; python3.12 -m unittest
> discover -v
> I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_npe2/build;
> python3.11 -m unittest discover -v
>
> ----------------------------------------------------------------------
> Ran 0 tests in 0.000s
>
> OK
> dh_auto_test: error: pybuild --test -i python{version} -p "3.12 3.11"
> returned exit code 13
The full build log is available from:
http://qa-logs.debian.net/2024/06/15/python-npe2_0.7.2-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240615;[email protected]
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240615&[email protected]&allbugs=1&cseverity=1&ctags=1&caffected=1#results
A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects
If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.