Article View: linux.debian.bugs.rc
Article #1507Bug#1151790: python-npe2: FTBFS: ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown locat...
From: Santiago Vila
Date: Fri, 23 Oct 2026 16:40
Date: Fri, 23 Oct 2026 16:40
80 lines
6501 bytes
6501 bytes
Package: src:python-npe2
Version: 0.8.3-1
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/202610/
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-npe2, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
from pydantic_core import __version__ as __pydantic_core_version__
File "/usr/lib/python3/dist-packages/pydantic_core/__init__.py", line 8, in <module>
from ._pydantic_core import (
...<21 lines>...
)
ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location)
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_npe2/build; python3.15 -m pytest -k "not fetch and not test_cli_convert_svg and not test_conversion and not test_render_docs and not test_setuptools_plugin and not test_compile and not test_cli_convert_package_name" tests
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_npe2/build; python3.14 -m pytest -k "not fetch and not test_cli_convert_svg and not test_conversion and not test_render_docs and not test_setuptools_plugin and not test_compile and not test_cli_convert_package_name" tests
============================= test session starts ==============================
platform linux -- Python 3.14.8, pytest-9.1.1, pluggy-1.6.0
rootdir: /<<PKGBUILDDIR>>
configfile: pyproject.toml
plugins: npe2-0.8.3, pretty-1.3.0, napari-plugin-engine-0.2.1
collected 265 items / 59 deselected / 1 skipped / 206 selected
tests/test__io_utils.py .................................. [ 16%]
tests/test_cli.py ................................... [ 33%]
tests/test_config_contribution.py ................ [ 41%]
tests/test_contributions.py ..................... [ 51%]
tests/test_docs.py . [ 51%]
tests/test_implements.py .... [ 53%]
tests/test_manifest.py ................. [ 62%]
tests/test_npe1_adapter.py ........ [ 66%]
tests/test_package_meta.py ... [ 67%]
tests/test_plugin_manager.py ................ [ 75%]
tests/test_pm_module.py . [ 75%]
tests/test_pytest_plugin.py ...... [ 78%]
tests/test_tmp_plugin.py ... [ 80%]
tests/test_utils.py .... [ 82%]
tests/test_validations.py ..................................... [100%]
============================= slowest 10 durations =============================
0.15s call .pybuild/cpython3_3.14_npe2/build/tests/test_cli.py::test_cli_validate_load_err
0.04s call .pybuild/cpython3_3.14_npe2/build/tests/test_npe1_adapter.py::test_npe1_adapter_cache
0.04s call .pybuild/cpython3_3.14_npe2/build/tests/test_cli.py::test_cli_parse[False-yaml]
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test_cli.py::test_cli_parse[False-toml]
0.03s setup .pybuild/cpython3_3.14_npe2/build/tests/test__io_utils.py::test_read
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test_cli.py::test_cli_parse[True-yaml]
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test__io_utils.py::test_read_uses_correct_passed_plugin
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test_contributions.py::test_writer_priority
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test_npe1_adapter.py::test_npe1_adapter
0.03s call .pybuild/cpython3_3.14_npe2/build/tests/test_cli.py::test_cli_convert_repo_dry_run
Results (0.39s):
206 passed
1 skipped
59 deselected
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:6: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID:
<NRqte-7qzu-97@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Santiago Vila <sanvila@debian.org> Newsgroups: linux.debian.bugs.rc Subject: Bug#1151790: python-npe2: FTBFS: ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location) Date: Fri, 23 Oct 2026 18:40:04 +0200 Message-ID: <NRqte-7qzu-97@gated-at.bofh.it> X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org Fri Oct 23 16:32:14 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Santiago Vila <sanvila@debian.org>, 1151790@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: sanvila@debian.org, team+python@tracker.debian.org X-Debian-Pr-Message: report 1151790 X-Debian-Pr-Package: src:python-npe2 X-Debian-Pr-Keywords: forky ftbfs sid X-Debian-Pr-Source: python-npe2 X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835744 List-ID: <debian-bugs-rc.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-rc/> Approved: robomod@news.nic.it Lines: 80 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 23 Oct 2026 16:27:46 +0000 X-Original-Message-ID: <E1xKI7O-0052FB-1T@paradis.debian.org>