🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.rc
Article #1488

Bug#1151767: nc-py-api: FTBFS: ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown locatio...

#1488
From: Santiago Vila
Date: Fri, 23 Oct 2026 16:40
56 lines
3864 bytes
Package: src:nc-py-api
Version: 0.19.2-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:nc-py-api, 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)


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:485: test: plugin pyproject failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.15_nextcloud-api/build; python3.15 -m unittest discover -v 
W: pybuild base:326: No test runner selected, defaulting to unittest, ignoring test discovery problems.
Use --test-unittest to explicitly select the unittest runner.
I: pybuild base:383: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.14_nextcloud-api/build; python3.14 -m unittest discover -v 

----------------------------------------------------------------------
Ran 0 tests in 0.000s

NO TESTS RAN
	rm -fr -- /tmp/dh-xdg-rundir-ZJNgQdJL
dh_auto_test: error: pybuild --test -i python{version} -p "3.15 3.14" --parallel=2 returned exit code 13
make: *** [debian/rules:11: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------
Technical Details
Message-ID: <NRqtb-7qzu-19@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Santiago Vila <sanvila@debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151767: nc-py-api: FTBFS: ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location)
Date: Fri, 23 Oct 2026 18:40:01 +0200
Message-ID: <NRqtb-7qzu-19@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Fri Oct 23 16:30:11 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Santiago Vila <sanvila@debian.org>, 1151767@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 1151767
X-Debian-Pr-Package: src:nc-py-api
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: nc-py-api
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/835721
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 56
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Fri, 23 Oct 2026 16:27:00 +0000
X-Original-Message-ID: <E1xKI6e-0052Cf-0B@paradis.debian.org>