[From nobody Wed Nov 25 08:59:07 2026
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: &lt;stuart@debian.org&gt;
Received: via submission by buxtehude.debian.org with esmtp (Exim 4.96)
 (envelope-from &lt;stuart@debian.org&gt;) id 1xVLQJ-003yQH-0Q
 for submit@bugs.debian.org; Mon, 23 Nov 2026 04:12:58 +0000
Content-Type: text/plain; charset=&quot;us-ascii&quot;
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stuart Prescott &lt;stuart@debian.org&gt;
To: Debian Bug Tracking System &lt;submit@bugs.debian.org&gt;
Subject: python-pepsickle: FTBFS &amp; Failing autopkgtests: dependencies do not
 build against non-default interpreters
Message-ID: &lt;179540717562.1747417.4788592548075631268.reportbug@trochilus.nanonanonano.net&gt;
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 &quot;/usr/lib/python3.15/unittest/loader.py&quot;, line 433, in _find_test_path
    module = self._get_module_from_name(name)
  File &quot;/usr/lib/python3.15/unittest/loader.py&quot;, line 374, in _get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File &quot;/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/tests/test___init__.py&quot;, line 9, in &lt;module&gt;
    from pepsickle import *
  File &quot;/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/__init__.py&quot;, line 9, in &lt;module&gt;
    from pepsickle.model_functions import *
  File &quot;/build/python-pepsickle-d3arRd/python-pepsickle-0.2.2/.pybuild/cpython3_3.15_pepsickle/build/pepsickle/model_functions.py&quot;, line 19, in &lt;module&gt;
    import torch
  File &quot;/usr/lib/python3/dist-packages/torch/__init__.py&quot;, line 1420, in &lt;module&gt;
    raise ImportError(
    ...&lt;14 lines&gt;...
    ) 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 . &amp;&amp; python -c &quot;import torch&quot;

    This error can generally be solved using the `develop` workflow
        $ python -m pip install --no-build-isolation -v -e . &amp;&amp; python -c &quot;import torch&quot;  # 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 &quot;python3&quot; instead of &quot;python3-all&quot; will do
the latter.

regards
Stuart
]