[From nobody Fri Oct 23 20:23:07 2026
Received: (at submit) by bugs.debian.org; 29 Sep 2026 14:08:47 +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=-118.3 required=4.0 tests=ALL_TRUSTED,BAYES_00,
 BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
 DKIM_VALID_AU,FOURLA,FROMDEVELOPER,HAS_PACKAGE,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, 112; hammy, 150; neutral, 148; 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: &lt;marga@debian.org&gt;
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:50254)
 by buxtehude.debian.org with esmtps
 (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xBYVj-00BQS1-0B
 for submit@bugs.debian.org; Tue, 29 Sep 2026 14:08:47 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debian.org; 
 s=smtpauto.stravinsky;
 h=X-Debian-User:Content-Transfer-Encoding:Content-Type
 :MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc:Content-ID:
 Content-Description:In-Reply-To:References;
 bh=WShbY5AUW+y9SHT5A4rqhTpWDcK8W6YNZVDZCMLqbk8=; b=WrO3LfixOFhTZp2BwXxffySmJY
 4IW73JuRiJ/wcdUPM/Jtb/Z2hojnncqBIjqGS3KcUJXm3BdaMurH59ZARPHtHdmI9A+LTSb+eH8kt
 bV/4LbLDbsToorRRxHc06O1Ps0RhZcHN4DwxVvvnS4UDWDVRGkzAzitRwt4obnxIOJkwWnA+V18on
 WlgOO6v+E/Kd9Z7sRePnf9ciHJCm3HMYCQXyDsk5FgNPUzVrLe19wIUOCwVko8ZUeZlBwCayAYPhf
 m/Kdzvhre9lRvPd2YsnpuMbj1jSpv4U1Xa4U8X1SF3vbNVXfhQBFXhsA3cI/iOrr1AlwaoNPmgoMc
 lFVyDZ4A==;
Received: from authenticated-user by stravinsky.debian.org with esmtpsa
 (TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
 (Exim 4.96) (envelope-from &lt;marga@debian.org&gt;) id 1xBYVh-008SnE-0L
 for submit@bugs.debian.org; Tue, 29 Sep 2026 14:08:45 +0000
Authentication-Results: nefele.gnuservers.com.ar;
 dmarc=fail (p=none dis=none) header.from=debian.org
Authentication-Results: nefele.gnuservers.com.ar; dkim=none; dkim-atps=neutral
Received: from freak.gnuservers.com.ar (unknown [153.100.179.182])
 by nefele.gnuservers.com.ar (Postfix) with ESMTPSA id 9A4451B35102
 for &lt;submit@bugs.debian.org&gt;; Tue, 29 Sep 2026 14:08:43 +0000 (UTC)
Received: by freak.gnuservers.com.ar (Postfix, from userid 1001)
 id 747915805C0; Tue, 29 Sep 2026 16:08:42 +0200 (CEST)
Date: Tue, 29 Sep 2026 16:08:42 +0200
From: Margarita Manterola &lt;marga@debian.org&gt;
To: submit@bugs.debian.org
Subject: python-csb: FTBFS against python 3.15rc2 (several failing tests)
Message-ID: &lt;arvGakm57U-xGD7w@localhost&gt;
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
X-Debian-User: marga
Delivered-To: submit@bugs.debian.org

Package: src:python-csb
Version: 1.2.5+dfsg-10
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2 ver=
sion
we found that python-csb fails to build from source:
https://debusine.debian.net/debian/r-python-python3.15/artifact/4856727/

=46rom the log, the error seems to be:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testRotationMatrix (build/reproducible-path/python-csb-1-2-5+dfsg/-p=
ybuild/cpython3_3-14_csb/build/csb/test/cases/numeric.TestMath.testRotation=
Matrix)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/numeric/__init__.py&quot;, line 109, in testRotation=
Matrix
    R2 =3D rotation_matrix([0, 0, 1], np.pi / 2.0)
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/numeric/__init__.py&quot;, line 155, in rotation_matrix
    axis =3D numpy.asfarray(axis) / norm(axis)
           ^^^^^^^^^^^^^^
  File &quot;/usr/lib/python3/dist-packages/numpy/__init__.py&quot;, line 778, in __g=
etattr__
    raise AttributeError(
    ...&lt;3 lines&gt;...
    )
AttributeError: `np.asfarray` was removed in the NumPy 2.0 release. Use `np=
=2Easarray` with a proper dtype instead.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testRead (build/reproducible-path/python-csb-1-2-5+dfsg/-pybuild/cpy=
thon3_3-14_csb/build/csb/test/cases/bio/io/mrc.TestDensityMapReader.testRea=
d)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/bio/io/mrc/__init__.py&quot;, line 36, in testRead
    density =3D self.reader.read()
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/bio/io/mrc.py&quot;, line 248, in read
    array =3D numpy.fromstring(map_data, numpy.float32, count)
ValueError: The binary mode of fromstring is removed, use frombuffer instead

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testReconstructHeader (build/reproducible-path/python-csb-1-2-5+dfsg=
/-pybuild/cpython3_3-14_csb/build/csb/test/cases/bio/io/mrc.TestDensityMapW=
riter.testReconstructHeader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/bio/io/mrc/__init__.py&quot;, line 55, in setUp
    self.density =3D self.reader.read()
                   ~~~~~~~~~~~~~~~~^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/bio/io/mrc.py&quot;, line 248, in read
    array =3D numpy.fromstring(map_data, numpy.float32, count)
ValueError: The binary mode of fromstring is removed, use frombuffer instead

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testWriteDensity (build/reproducible-path/python-csb-1-2-5+dfsg/-pyb=
uild/cpython3_3-14_csb/build/csb/test/cases/bio/io/mrc.TestDensityMapWriter=
=2EtestWriteDensity)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/bio/io/mrc/__init__.py&quot;, line 55, in setUp
    self.density =3D self.reader.read()
                   ~~~~~~~~~~~~~~~~^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/bio/io/mrc.py&quot;, line 248, in read
    array =3D numpy.fromstring(map_data, numpy.float32, count)
ValueError: The binary mode of fromstring is removed, use frombuffer instead

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testFiveReplicas (build/reproducible-path/python-csb-1-2-5+dfsg/-pyb=
uild/cpython3_3-14_csb/build/csb/test/cases/statistics/samplers.TestReplica=
History.testFiveReplicas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 899, in =
testFiveReplicas
    assert(self._assertIdenticalProjTrajs(samples, swap_interval))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 866, in =
_assertIdenticalProjTrajs
    ok.append(True in [np.all(np.array(t1) =3D=3D np.array(t2)) for t1 in t=
rajs1
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (85,) (75,)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testFiveReplicasOffset (build/reproducible-path/python-csb-1-2-5+dfs=
g/-pybuild/cpython3_3-14_csb/build/csb/test/cases/statistics/samplers.TestR=
eplicaHistory.testFiveReplicasOffset)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 909, in =
testFiveReplicasOffset
    assert(self._assertIdenticalProjTrajs(samples, swap_interval, first_swa=
p))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^=
^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 866, in =
_assertIdenticalProjTrajs
    ok.append(True in [np.all(np.array(t1) =3D=3D np.array(t2)) for t1 in t=
rajs1
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (103,) (73=
,)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testFourReplicas (build/reproducible-path/python-csb-1-2-5+dfsg/-pyb=
uild/cpython3_3-14_csb/build/csb/test/cases/statistics/samplers.TestReplica=
History.testFourReplicas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 889, in =
testFourReplicas
    assert(self._assertIdenticalProjTrajs(samples, swap_interval))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 866, in =
_assertIdenticalProjTrajs
    ok.append(True in [np.all(np.array(t1) =3D=3D np.array(t2)) for t1 in t=
rajs1
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (125,) (10=
5,)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: testTwoReplicas (build/reproducible-path/python-csb-1-2-5+dfsg/-pybu=
ild/cpython3_3-14_csb/build/csb/test/cases/statistics/samplers.TestReplicaH=
istory.testTwoReplicas)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 879, in =
testTwoReplicas
    assert(self._assertIdenticalProjTrajs(samples, swap_interval))
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/statistics/samplers/__init__.py&quot;, line 866, in =
_assertIdenticalProjTrajs
    ok.append(True in [np.all(np.array(t1) =3D=3D np.array(t2)) for t1 in t=
rajs1
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: operands could not be broadcast together with shapes (195,) (30=
5,)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
ERROR: runTest (build/reproducible-path/python-csb-1-2-5+dfsg/-pybuild/cpyt=
hon3_3-14_csb/build/csb/test/cases/core.TestDeepCopy.runTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/core/__init__.py&quot;, line 21, in runTest
    self.assertNotEquals(id(obj), id(copy))
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: 'TestDeepCopy' object has no attribute 'assertNotEquals'. D=
id you mean: 'assertNotEqual'?

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: testRecusionLimit (build/reproducible-path/python-csb-1-2-5+dfsg/-pyb=
uild/cpython3_3-14_csb/build/csb/test/cases/io.TestDumpLoad.testRecusionLim=
it)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/io/__init__.py&quot;, line 528, in testRecusionLimit
    with self.assertRaises(RuntimeError):
         ~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
AssertionError: RuntimeError not raised

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FAIL: testComparison (build/reproducible-path/python-csb-1-2-5+dfsg/-pybuil=
d/cpython3_3-14_csb/build/csb/test/cases/core.TestEnum.testComparison)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/build/reproducible-path/python-csb-1.2.5+dfsg/.pybuild/cpython3_3.=
14_csb/build/csb/test/cases/core/__init__.py&quot;, line 73, in testComparison
    self.assertFalse(self.enum.C =3D=3D 66)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
AssertionError: True is not false

----------------------------------------------------------------------

Please note that while we ran into this error during the rebuild against Py=
thon
3.15, that doesn't mean that the root cause for the failure is necessarily =
the
new Python version.

Setting the severity to important for now. Once Python 3.15 is released and
later added to python3-defaults, this bug will become release critical.

--=20
Cheers,
Marga
]