🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
2 messages
2 total messages Started by Stuart Prescott Mon, 23 Nov 2026 04:20
Bug#1154939: python-pepsickle: FTBFS & Failing autopkgtests: dependencies do not build against non-default interpreters
#3928
Author: Stuart Prescott
Date: Mon, 23 Nov 2026 04:20
66 lines
4579 bytes
Package: python-pepsickle
Version: 0.2.2-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: stuart@debian.org

Dear Maintainer,

python-pepsickle tries to build and test against all supported interpreters
(using python3-all); normally this is the correct thing to do.

However, one of python-pepsickle's dependencies only builds against the
default interpreter (python3-torch), meaning that all tests fail when
invoked by the non-default interpreter (currently Python 3.15).

That leaves python-pepsickle currently FTBFS and its autopkgtests fail.

//---

test___init__ (unittest.loader._FailedTest.test___init__) ... ERROR

======================================================================
ERROR: test___init__ (unittest.loader._FailedTest.test___init__)
----------------------------------------------------------------------
ImportError: Failed to import test module: test___init__
Traceback (most recent call last):
  File "/usr/lib/python3.15/unittest/loader.py", line 433, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.15/unittest/loader.py", line 374, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/tests/test___init__.py", line 9, in <module>
    from pepsickle import *
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/__init__.py", line 9, in <module>
    from pepsickle.model_functions import *
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/model_functions.py", line 19, in <module>
    import torch
  File "/usr/lib/python3/dist-packages/torch/__init__.py", line 1420, in <module>
    raise ImportError(
    ...<14 lines>...
    ) from None
ImportError: Failed to load PyTorch C extensions:
    It appears that PyTorch has loaded the `torch/_C` folder
    of the PyTorch repository rather than the C extensions which
    are expected in the `torch._C` namespace. This can occur when
    using the `install` workflow. e.g.
        $ python -m pip install --no-build-isolation -v . && python -c "import torch"

    This error can generally be solved using the `develop` workflow
        $ python -m pip install --no-build-isolation -v -e . && python -c "import torch"  # This should succeed
    or by running Python from a different directory.


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

---//

This can either be fixed by working with the pytorch maintainers to
build for all supported Python interpreters, or by reducing this package
to only test against the default iterpreter. Changing the build-dep and
test dep (in d/t/control) to "python3" instead of "python3-all" will do
the latter.

regards
Stuart
Bug#1154939: marked as done (python-pepsickle: FTBFS & Failing autopkgtests: dependencies do not build against non-default inte...
#4168
Author: Debian Bug Tracking System
Date: Wed, 25 Nov 2026 09:00
307 lines
14630 bytes
This is a multi-part message in MIME format...

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

Your message dated Wed, 25 Nov 2026 08:35:48 +0000
with message-id <179559574856.928327.12874982431591112021@fasolo.debian.org>
and subject line Bug#1154939: fixed in python-pepsickle 0.2.2-2
has caused the Debian Bug report #1154939,
regarding python-pepsickle: FTBFS & Failing autopkgtests: dependencies do n=
ot build against non-default interpreters
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
1154939: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1154939
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1795597142-3060668-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 23 Nov 2026 04:12:58 +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=-21.0 required=4.0 tests=BAYES_00,
	BODY_INCLUDES_PACKAGE,FROMDEVELOPER,HAS_PACKAGE,NO_RELAYS,
	XMAILER_REPORTBUG autolearn=ham autolearn_force=no
	version=4.0.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 23; hammy, 150; neutral, 69; spammy,
	0. spammytokens: hammytokens:0.000-+--XDebbugsCc,
	0.000-+--X-Debbugs-Cc, 0.000-+--python3, 0.000-+--H*Ad:N*Bug,
	0.000-+--HTo:N*Debian
Return-path: <stuart@debian.org>
Received: via submission
	by buxtehude.debian.org with esmtp (Exim 4.96)
	(envelope-from <stuart@debian.org>)
	id 1xVLQJ-003yQH-0Q
	for submit@bugs.debian.org;
	Mon, 23 Nov 2026 04:12:58 +0000
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stuart Prescott <stuart@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: python-pepsickle: FTBFS & Failing autopkgtests: dependencies do not build against non-default interpreters
Message-ID: <179540717562.1747417.4788592548075631268.reportbug@trochilus.nanonanonano.net>
X-Mailer: reportbug 13.2.0
Date: Mon, 23 Nov 2026 15:12:55 +1100
Delivered-To: submit@bugs.debian.org

Package: python-pepsickle
Version: 0.2.2-1
Severity: serious
Tags: ftbfs
X-Debbugs-Cc: stuart@debian.org

Dear Maintainer,

python-pepsickle tries to build and test against all supported interpreters
(using python3-all); normally this is the correct thing to do.

However, one of python-pepsickle's dependencies only builds against the
default interpreter (python3-torch), meaning that all tests fail when
invoked by the non-default interpreter (currently Python 3.15).

That leaves python-pepsickle currently FTBFS and its autopkgtests fail.

//---

test___init__ (unittest.loader._FailedTest.test___init__) ... ERROR

======================================================================
ERROR: test___init__ (unittest.loader._FailedTest.test___init__)
----------------------------------------------------------------------
ImportError: Failed to import test module: test___init__
Traceback (most recent call last):
  File "/usr/lib/python3.15/unittest/loader.py", line 433, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.15/unittest/loader.py", line 374, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/tests/test___init__.py", line 9, in <module>
    from pepsickle import *
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/__init__.py", line 9, in <module>
    from pepsickle.model_functions import *
  File "/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/model_functions.py", line 19, in <module>
    import torch
  File "/usr/lib/python3/dist-packages/torch/__init__.py", line 1420, in <module>
    raise ImportError(
    ...<14 lines>...
    ) from None
ImportError: Failed to load PyTorch C extensions:
    It appears that PyTorch has loaded the `torch/_C` folder
    of the PyTorch repository rather than the C extensions which
    are expected in the `torch._C` namespace. This can occur when
    using the `install` workflow. e.g.
        $ python -m pip install --no-build-isolation -v . && python -c "import torch"

    This error can generally be solved using the `develop` workflow
        $ python -m pip install --no-build-isolation -v -e . && python -c "import torch"  # This should succeed
    or by running Python from a different directory.


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

---//

This can either be fixed by working with the pytorch maintainers to
build for all supported Python interpreters, or by reducing this package
to only test against the default iterpreter. Changing the build-dep and
test dep (in d/t/control) to "python3" instead of "python3-all" will do
the latter.

regards
Stuart

------------=_1795597142-3060668-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1154939-close) by bugs.debian.org; 25 Nov 2026 08:56:49 +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=-112.2 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,MD5_SHA1_SUM,MEDS2,PGPSIGNATURE,SPF_HELO_PASS,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, 86; hammy, 150; neutral, 144; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Debian:DAK,
	0.000-+--H*rp:D*ftp-master.debian.org, 0.000-+--HX-DAK:process-upload,
	0.000-+--UD:debian.tar.xz, 0.000-+--H*r:sk:fasolo.
Return-path: <envelope@ftp-master.debian.org>
Received: from mailly.debian.org ([2001:41b8:202:deb:6564:a62:52c3:4b72]:56254)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xW8Tn-00CkbQ-1z
	for 1154939-close@bugs.debian.org;
	Wed, 25 Nov 2026 08:35:50 +0000
Received: via submission
	from C=NA,ST=NA,L=Ankh Morpork,O=Debian SMTP,OU=Debian SMTP CA,CN=fasolo.debian.org,EMAIL=hostmaster@fasolo.debian.org (verified)
	by mailly.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xW8Tl-0097ML-1T
	for 1154939-close@bugs.debian.org;
	Wed, 25 Nov 2026 08:35:49 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Content-Type:Message-Id:Date:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=ZqwF/s2Pvn+jshGeSAStconczl2DNTDxUk93AC3slE0=; b=A0eAmfZRlJFUOSMi1mOM4nRP0z
	/te+XHrEzyvYG7J8y/d3ZJ7VMSGVgRjjZPRJsCnbOLpOJJG+nTXaxshFaexlexnUy6vjIqPY19XLg
	5HbQSPpovZoJViUxWh6bIYjNCnAi+nDXB10lcsyWdVUJsFONETnbJYKtuTLLd7vPTMo5GXYUNQO3v
	m7RqKidSPJh/WEKXIsR+01FaQx/N/kJUmWsz+22o/LLH1Dp5r//shmGghQLiDuAtckWj2dMTBNTib
	qnLpAhpaFbR3/akIorIWFRSE1HloNTFpNcVCpYz5Iv1x0HF9VpzqX5UZKnLuL6ZVe0owdZKefTBRy
	EGpkfE/Q==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xW8Tk-00000003tc6-2UsC;
	Wed, 25 Nov 2026 08:35:48 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Andreas Tille <tille@debian.org>
To: 1154939-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: python-pepsickle
Debian: DAK
Debian-Changes: python-pepsickle_0.2.2-2_source.changes
Debian-Source: python-pepsickle
Debian-Version: 0.2.2-2
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1154939: fixed in python-pepsickle 0.2.2-2
Date: Wed, 25 Nov 2026 08:35:48 +0000
Message-Id: <179559574856.928327.12874982431591112021@fasolo.debian.org>
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============0262571027326287597=="

--===============0262571027326287597==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable

Source: python-pepsickle
Source-Version: 0.2.2-2
Done: Andreas Tille <tille@debian.org>

We believe that the bug you reported is fixed in the latest version of
python-pepsickle, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1154939@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Andreas Tille <tille@debian.org> (supplier of updated python-pepsickle packag=
e)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 25 Nov 2026 07:33:33 +0100
Source: python-pepsickle
Architecture: source
Version: 0.2.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debi=
an.org>
Changed-By: Andreas Tille <tille@debian.org>
Closes: 1154939
Changes:
 python-pepsickle (0.2.2-2) unstable; urgency=3Dmedium
 .
   * Team upload.
   * Packaging update (routine-update)
   * Drop 'Rules-Requires-Root: no' from d/control (routine-update)
   * debputy lint --auto-fix (routine-update)
   * Disable Python3.15 since python3-torch is only available for default
     Python3 (=3D3.14)
     Closes: #1154939
   * Restrict autopkgtest to default Python3 version
Checksums-Sha1:
 1b14697e474e397ad2be102df144f3d2565c6750 2298 python-pepsickle_0.2.2-2.dsc
 4da89a272c00254e9928ce7f00baa06e2cad68c2 9024 python-pepsickle_0.2.2-2.debia=
n.tar.xz
 1e02519e000425dc10f0ee8583d100e8aa6c8977 11352 python-pepsickle_0.2.2-2_amd6=
4.buildinfo
Checksums-Sha256:
 bc83e49f027284b1906348f499cfbcbeea962e3ab5514349d63b093c66b19796 2298 python=
-pepsickle_0.2.2-2.dsc
 a7577908f51e77566bf632964963ae9683a94a4345a9ee328c56e459da298f32 9024 python=
-pepsickle_0.2.2-2.debian.tar.xz
 9febafae57fb855760a12c97ab7d32e7d906ef52ac26dbcf89db741f094a17cd 11352 pytho=
n-pepsickle_0.2.2-2_amd64.buildinfo
Files:
 7acf51af14d5c39fba93389b82ac3dd7 2298 science optional python-pepsickle_0.2.=
2-2.dsc
 69ba17d4502ac7eae4f4015b735529e0 9024 science optional python-pepsickle_0.2.=
2-2.debian.tar.xz
 8b43c26191b08c1702102bc93d158131 11352 science optional python-pepsickle_0.2=
.2-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJFBAEBCgAvFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAmsGlfgRHHRpbGxlQGRl
Ymlhbi5vcmcACgkQV4oElNHGRtEJIg//esoYe2cwJy7F+gYutPNj9cYfNfEpwny2
Kd6KbVHzEZFqZmgoaS0Tevo2ZDKFlNx1mS+8iTSQ7bKagFIlB9L2EAyTmJixxAfl
rKc71pPwaYzNv3i9pW8yuSPS+frRrxqcMUjQv32O5OfUYVJ74ogwGbbFYvSH6WKd
svca0288vmo+jQRCKyIFqdUEENf/1cOSYvN8IqYZIRAChMh4/5CloCkTwpc0sn6r
sBK6mkSnmzsK1AjJYQkb1tM2FULrWEhjmJPaNYH699+AQ/eTgfVdt/YYwZJ2Obkf
dGKmJiVMhJC3bTEfyjppFBokA0RMqwUm83XZBcIN+Yh+ov3rl5fAuF8vy6u++ESs
fiMZFnKvW2Tic01v5GvSpLCv1eUXyWVzExLISWICBBJKFcnrB1j+e9NzxCQPC/70
kKnl9l1IuHqMUDynG7ztkVRGHW+ztF+GwondKuHofByUzYzwwjJ8GT4/iSIKZE6P
n69QsM6yM4kjjawnPs0RtmcsZejDBwwFIaHs1typmBNo4fqPqn1bTVtqPQqt9JzQ
xlK8XqUcQMoO1isiS4KKk1jwUfq7PWAignhqS7yiWQe7LK7L78oZKyDTx4ExcX7Z
9s16xDzJ1YiEHteHka/aJkeXMaVmc3weMnDqIMuar4x/HRhB3VapEnhYGNTY3MPm
ZAGTLt1gnwU=3D
=3D+J5Y
-----END PGP SIGNATURE-----


--===============0262571027326287597==
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCawad5AAKCRCb9qggYcy5
IV6nAP4sfw9RmpH+K84Sr9IhFbfVY4mcFT+NoO1Jf69TvcZgfgEAr2YW047iXGc3
EzMJ0ipmfNUC0Njgc9saw8uvbgEi/gY=
=ybiV
-----END PGP SIGNATURE-----

--===============0262571027326287597==--
------------=_1795597142-3060668-0--
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads