🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#1810
From: Debian Bug Tracking System
Date: Tue, 27 Oct 2026 10:30
221 lines
11954 bytes
This is a multi-part message in MIME format...

------------=_1793096461-2622665-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Tue, 27 Oct 2026 10:20:27 +0000
with message-id <auB66wahSxhN4wlf@riva.ucam.org>
and subject line Re: Bug#1151767: nc-py-api: FTBFS: ImportError: cannot imp=
ort name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location)
has caused the Debian Bug report #1151767,
regarding nc-py-api: FTBFS: ImportError: cannot import name 'ArgsKwargs' fr=
om 'pydantic_core._pydantic_core' (unknown location)
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


--=20
1151767: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1151767
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1793096461-2622665-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 23 Oct 2026 16:27:03 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-120.4 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,
	RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_PASS,USER_IN_DKIM_WELCOMELIST,
	X_DEBBUGS_CC autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 9; hammy, 150; neutral, 98; spammy, 0.
	spammytokens: hammytokens:0.000-+--python3, 0.000-+--pkgbuilddir,
	0.000-+--PKGBUILDDIR, 0.000-+--HTo:N*Debian, 0.000-+--forky
Return-path: <sanvila@debian.org>
Received: from mitropoulos.debian.org ([2001:648:2ffc:deb:216:61ff:fe9d:958d]:52928)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xKI6h-00Epz6-2z
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:27:03 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=paradis.debian.org,EMAIL=hostmaster@paradis.debian.org (verified)
	by mitropoulos.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xKI6f-004PRo-2A
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:27:01 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.paradis; h=Date:Message-Id:Subject:To:From:Reply-To:Cc:
	MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=ZR2HRH8ZzEKxaHTlAyLeHuTffSnmiHPD0n7m3megfJk=; b=R241cPVja1TA30LXLht6TMeiDo
	PQvcZ+GKk8Ca75mBBMG52s93j8sCE5hq6hURU89syHItTRhhATPBqShyQxBknyYWFf8zALE3z4p0X
	1iXP3CZ6qdOO96aWbZs2lvCK6scUtEi7vMu8b/YVG4E+DdH4ychFxjPGWkYuqKsKD72y+NskVUKJm
	822Pzkzom0BwQHJD6SFViXL1nMl59pzNb+bZpfV9PAPF72580IDDZ6qXJcnTuDrBgiLVXU7LMgkUx
	JIW4wZJEkQNn742irdU0C+APC7FBgb7nOgTdbIdnEgq5Rl8vz5tvk2dN209yOWni54z5E2NSi9o+V
	JclFmOHQ==;
Received: from sanvila by paradis.debian.org with local (Exim 4.96)
	(envelope-from <sanvila@debian.org>)
	id 1xKI6e-0052Cf-0B
	for submit@bugs.debian.org;
	Fri, 23 Oct 2026 16:27:00 +0000
From: Santiago Vila <sanvila@debian.org>
To: Debian BTS <submit@bugs.debian.org>
Subject: nc-py-api: FTBFS: ImportError: cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location)
X-Debbugs-Cc: sanvila@debian.org
Message-Id: <E1xKI6e-0052Cf-0B@paradis.debian.org>
Date: Fri, 23 Oct 2026 16:27:00 +0000
Delivered-To: submit@bugs.debian.org

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
--------------------------------------------------------------------------------

------------=_1793096461-2622665-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1151767-close) by bugs.debian.org; 27 Oct 2026 10:20:31 +0000
X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
	(2024-03-25) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-109.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
	HAS_BUG_NUMBER,SPF_HELO_NONE,SPF_PASS,USER_IN_DKIM_WELCOMELIST
	autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 14; hammy, 140; neutral, 20; spammy,
	0. spammytokens:
	hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
	0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
	0.000-+--H*RT:311, 0.000-+--H*RT:108
Return-path: <cjwatson@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:46908)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeIB-00B0Df-20
	for 1151767-close@bugs.debian.org;
	Tue, 27 Oct 2026 10:20:30 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org;
	s=smtpauto.stravinsky; h=X-Debian-User:In-Reply-To:Content-Type:MIME-Version:
	References:Message-ID:Subject:To:From:Date:Reply-To:Cc:
	Content-Transfer-Encoding:Content-ID:Content-Description;
	bh=gPSsj621QRy8paD9EaSVN3la8Mu0zivUPmt3ZbGDgsg=; b=VJVs1DM1vvQUC2+enYkoFgMlKw
	hl2t5fTITN3flSR7zwFYWn+yJQzLWO3ikA4WAGFvE+Sche3OWh2rSl3UQG5mkKvUdThzdeA8eowi6
	Ai5qaRzePkNJNt97GBqTEbF+BouNqQqtxQB52mlg5uq+eBtFub+F4nZ8Na27OW7zsJ9LPjIJf6uO1
	9V/hE8v51ig8hc+oKS03sXqUBPW25jJDu+YpaGUWKHlpdaUVQq0w2Q9SVBxL7d8OjumpciN8ELMaS
	QAuuZzAf9vJpQGo458F+cWojqZG7uYIPUsQn6CkfjSt36RYvafCUVG1xp5WZ0ucwgsZZSHjbkzlMb
	FUnlSZrw==;
Received: from authenticated-user
	by stravinsky.debian.org with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeI9-001O6r-1v;
	Tue, 27 Oct 2026 10:20:29 +0000
Received: from ns1.rosewood.vpn.ucam.org ([172.20.153.2] helo=riva.ucam.org)
	by riva.rosewood.vpn.ucam.org with esmtps  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.98.2)
	(envelope-from <cjwatson@debian.org>)
	id 1xLeI8-000000077Sv-0lhl;
	Tue, 27 Oct 2026 10:20:28 +0000
Date: Tue, 27 Oct 2026 10:20:27 +0000
From: Colin Watson <cjwatson@debian.org>
To: Santiago Vila <sanvila@debian.org>, 1151767-close@bugs.debian.org
Subject: Re: Bug#1151767: nc-py-api: FTBFS: ImportError: cannot import name
 'ArgsKwargs' from 'pydantic_core._pydantic_core' (unknown location)
Message-ID: <auB66wahSxhN4wlf@riva.ucam.org>
References: <E1xKI6e-0052Cf-0B@paradis.debian.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
In-Reply-To: <E1xKI6e-0052Cf-0B@paradis.debian.org>
X-Debian-User: cjwatson

On Fri, Oct 23, 2026 at 04:27:00PM +0000, Santiago Vila wrote:
>    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)

This was a temporary problem, fixed by rebuilding pydantic-core against 
Python 3.15.  I've confirmed that nc-py-api builds again now.

-- 
Colin Watson (he/him)                              [cjwatson@debian.org]
------------=_1793096461-2622665-0--
Technical Details
Message-ID: <NSMBj-8dEf-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
References: <NSMBj-8dEf-3@gated-at.bofh.it> <NRqtb-7qzu-19@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "Debian Bug Tracking System" <owner@bugs.debian.org>
Newsgroups: linux.debian.bugs.rc
Subject: Bug#1151767: marked as done (nc-py-api: FTBFS: ImportError:  cannot import name 'ArgsKwargs' from 'pydantic_core._pydantic_core'  (unknown location))
Date: Tue, 27 Oct 2026 11:30:01 +0100
Message-ID: <NSMBj-8dEf-1@gated-at.bofh.it>
References: <NSMBj-8dEf-3@gated-at.bofh.it> <NRqtb-7qzu-19@gated-at.bofh.it>
X-Original-To: Colin Watson <cjwatson@debian.org>
X-Mailbox-Line: From debian-bugs-rc-request@lists.debian.org  Tue Oct 27 10:21:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -2
MIME-Version: 1.0
X-Mailer: MIME-tools 5.510 (Entity 5.510)
X-Debian-Pr-Message: closed 1151767
X-Debian-Pr-Package: src:nc-py-api
X-Debian-Pr-Keywords: forky ftbfs sid
X-Debian-Pr-Source: nc-py-api
Reply-To: 1151767@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1793096461-2622665-0"
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-rc@lists.debian.org> archive/latest/836261
List-ID: <debian-bugs-rc.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-rc/>
Approved: robomod@news.nic.it
Lines: 221
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 27 Oct 2026 10:21:01 +0000
X-Original-Message-ID: <handler.1151767.D1151767.17930964312622473.ackdone@bugs.debian.org>
X-Original-References: <auB66wahSxhN4wlf@riva.ucam.org>
 <E1xKI6e-0052Cf-0B@paradis.debian.org>