🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.rc
1 messages
1 total messages Started by Debian Bug Tracking System Fri, 13 Nov 2026 17:40
Bug#1148462: marked as done (mdanse: FTBFS against python 3.15rc2)
#3089
Author: Debian Bug Tracking System
Date: Fri, 13 Nov 2026 17:40
390 lines
17381 bytes
This is a multi-part message in MIME format...

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

Your message dated Fri, 13 Nov 2026 17:35:18 +0000
with message-id <E1xRvBG-00000004Bea-2ZiE@fasolo.debian.org>
and subject line Bug#1148462: fixed in mdanse 2.0.1-3
has caused the Debian Bug report #1148462,
regarding mdanse: FTBFS against python 3.15rc2
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
1148462: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D1148462
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems

------------=_1794591421-1416942-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.debian.org; 19 Sep 2026 19:53:56 +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.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,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, 46; hammy, 150; neutral, 257; 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: <maxy@debian.org>
Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]:58140)
	by buxtehude.debian.org with esmtps (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256)
	(Exim 4.96)
	(envelope-from <maxy@debian.org>)
	id 1x818F-0067V9-3A
	for submit@bugs.debian.org;
	Sat, 19 Sep 2026 19:53:56 +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-Type:MIME-Version:Message-ID:
	Subject:To:From:Date:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:
	Content-Description:In-Reply-To:References;
	bh=nwK/LlSppseXomsD7ogj98XXGmNGpM6I2hBrC9auTqU=; b=fdNH7il2K7N+/q8GPQNnQZJNq8
	XnlYmqgV7I6GTWqLe6CwZg2SsPrv2ac+jRQSxPmEH5i8Ryf4TFwzybwTk9AsRVheqk2UnTOCDyyJ4
	sdSrVwxNRJdCvQTTRb0f6KdtIAjQPllZXnaQpwyYNxVygy8n0xu1weU3jTtUikhYcCl2JJA5+Fvds
	p3iwcpj90LwdxpBKcOL9P6I3v9eGG7KQbY+aVQMB3iAvTF3KDOrwDcMAdS2PCmG2yu5/11cFKhQYo
	no684ZpxqdNhRLJDR00/+ZB4PQ77mrxx+Zf5fl2203eIbqYsIeRCECtWdTyIKoBO0tN2dhM+sEg+H
	GeTluKYA==;
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 <maxy@debian.org>)
	id 1x818D-000tHa-0V
	for submit@bugs.debian.org;
	Sat, 19 Sep 2026 19:53:54 +0000
Date: Sat, 19 Sep 2026 21:53:52 +0200
From: Maximiliano Curia <maxy@debian.org>
To: submit@bugs.debian.org
Subject: mdanse: FTBFS against python 3.15rc2
Message-ID: <aq7oUPlfZewb3zem@hecuba.gnuservers.com.ar>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="CDOojGN9Lyx7lGp8"
Content-Disposition: inline
X-Debian-User: maxy
Delivered-To: submit@bugs.debian.org

--CDOojGN9Lyx7lGp8
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline

Package: src:mdanse
Version: 2.0.1-2
User: debian-python@lists.debian.org
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Severity: important

Hi!

While rebuilding the python related packages against the Python 3.15rc2
version we found that mdanse fails to build from source [1].

The error is:

E   ImportError: cannot import name 'rdBase' from partially initialized module 'rdkit' (most likely due to a circular import) (/usr/lib/python3/dist-packages/rdkit/__init__.py

This happened because rdkit is only building against the default Python
version (3.14 in this case), while mdanse is trying to build against all
versions.

However, while looking into this I realized that there's no reason this
package should be arch:any, it should be arch:all instead. Switching to
arch:all and dropping the unused related dependencies makes the package
build successfully.

In the process of looking into this issue, I also ran into a test error
tolerance problem when building in arm64. By moving to arch:all that
issue will likely not be visible, but it's still good to make it
possible to build mdanse on arm64.

I've applied these fixes in the sandbox [2] to verify that it builds
successfully, please consider applying the patch to support the upcoming
3.15 version.

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

Happy hacking,

[1]: https://debusine.debian.net/debian/r-python-python3.15/artifact/4749251/
[2]: https://debusine.debian.net/debian/r-python-python3.15/

-- 
"Can you imagine what I would do if I could do all I can?" -- Sun Tzu
Saludos /\/\ /\ >< `/

--CDOojGN9Lyx7lGp8
Content-Type: text/x-diff; charset=us-ascii
Content-Disposition: attachment; filename=mdanse_2.0.1-3.diff

diff --git a/debian/changelog b/debian/changelog
index 8ba5fe50..9eb0010c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+mdanse (2.0.1-3) UNRELEASED; urgency=medium
+
+  * Team upload.
+  * Build python3-mdanse as arch:all
+  * Add patch to relax the test tolerance
+
+ -- Maximiliano Curia <maxy@debian.org>  Fri, 18 Sep 2026 11:46:02 +0200
+
 mdanse (2.0.1-2) unstable; urgency=medium
 
   * Fix d/copyright syntax.
diff --git a/debian/control b/debian/control
index 534e72f7..9b5208e9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,11 +7,9 @@ Section: science
 Build-Depends:
  debhelper-compat (= 13),
  dh-sequence-python3,
- cython3,
  dbus-daemon <!nocheck>,
  pybuild-plugin-pyproject,
  python3-all,
- python3-all-dev,
  python3-ase <!nocheck>,
  python3-h5py <!nocheck>,
  python3-mdanalysis,
@@ -33,12 +31,11 @@ Vcs-Git: https://salsa.debian.org/science-team/mdanse.git
 
 Package: python3-mdanse
 Section: python
-Architecture: any
+Architecture: all
 Depends:
  python3-rdkit (>= 202503.1-5~),
  ${misc:Depends},
  ${python3:Depends},
- ${shlibs:Depends},
  python3-vtk9,
 Description: Molecular Dynamics Analysis for Neutron Scattering Experiments
  This is the module containing the command-line utilities and
diff --git a/debian/patches/relax-test-tolerance.patch b/debian/patches/relax-test-tolerance.patch
new file mode 100644
index 00000000..4624547f
--- /dev/null
+++ b/debian/patches/relax-test-tolerance.patch
@@ -0,0 +1,19 @@
+Description: Relax tolerance for DynamicCoherentStructureFactor test
+ On architectures such as arm64, floating point differences cause a maximum
+ absolute difference of ~1.1e-5 in the ideal DCSF dataset, which slightly
+ exceeds the atol=1e-5 tolerance. Relax atol to 2e-5.
+Author: Maximiliano Curia <maxy@debian.org>
+Forwarded: no
+Last-Update: 2026-09-18
+
+--- a/MDANSE/Tests/UnitTests/Analysis/test_grouping.py
++++ b/MDANSE/Tests/UnitTests/Analysis/test_grouping.py
+@@ -113,7 +113,7 @@
+         ("PairDistributionFunction", ["pdf", "rdf", "tcf"], "equal", 1e-10, 1e-7),
+         ("StaticStructureFactor", ["ssf"], "equal", 1e-10, 1e-7),
+         ("XRayStaticStructureFactor", ["xssf"], "equal", 1e-10, 1e-7),
+-        ("DynamicCoherentStructureFactor", ["dcsf"], "b_coherent", 1e-5, 1e-4),
++        ("DynamicCoherentStructureFactor", ["dcsf"], "b_coherent", 2e-5, 1e-4),
+         ("CurrentCorrelationFunction", ["ccf"], "b_coherent", 1e-6, 1e-7),
+         ("DynamicIncoherentStructureFactor", ["disf"], "b_incoherent", 1e-10, 1e-7),
+         ("ElasticIncoherentStructureFactor", ["eisf"], "b_incoherent", 1e-10, 1e-7),
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 00000000..cab0e035
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+relax-test-tolerance.patch

--CDOojGN9Lyx7lGp8--

------------=_1794591421-1416942-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 1148462-close) by bugs.debian.org; 13 Nov 2026 17:35:19 +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=-114.1 required=4.0 tests=ALL_TRUSTED,BAYES_00,
	DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FOURLA,
	FVGT_m_MULTI_ODD,HAS_BUG_NUMBER,MD5_SHA1_SUM,PGPSIGNATURE,
	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, 80; hammy, 150; neutral, 149; 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 muffat.debian.org ([2607:f8f0:614:1::1274:33]:57392)
	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 1xRvBH-005wSk-2d
	for 1148462-close@bugs.debian.org;
	Fri, 13 Nov 2026 17:35:19 +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 muffat.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 1xRvBH-00FpN8-1R
	for 1148462-close@bugs.debian.org;
	Fri, 13 Nov 2026 17:35:19 +0000
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;
	d=ftp-master.debian.org; s=smtpauto.fasolo; h=Date:Message-Id:Content-Type:
	Subject:MIME-Version:To:Reply-To:From:Cc:Content-Transfer-Encoding:Content-ID
	:Content-Description:In-Reply-To:References;
	bh=6cPHhceAzLjdvQkeVcVzr08eE42pGbRMa/UDLunDcqA=; b=LeG1kXDoKr2eq8K6dwY3bj22yF
	X+5MAubOGD49ouiZBH6eikUTNpDqyKbVOP+iu7x/DofnRIOptfZPXr7Asi0sLIKwXhAf/uV27i8Xy
	ibITm5ZAc0aPlfgbFESvh9uAe6F+MuMkK3qoaXuOeLy4QkAFsv9X1DV0kos37N5vZAxcWRxDxy9rm
	lNy4cKfR4qqRaD0Mg8vH6c4jwWvpqY3Ofa3AueRiZeuSeSxcsbebovV0DsPp0xx5A8K973jZCB/yo
	GaU5uGLOybUz6dL+MWf6mL5Pzytzy3k0TOr20lwWwRipa5ACMXDNc2iMPT972yxNeDq8Rnif1UU4+
	jXToE/mg==;
Received: from dak by fasolo.debian.org with local (Exim 4.98.2)
	(envelope-from <envelope@ftp-master.debian.org>)
	id 1xRvBG-00000004Bea-2ZiE;
	Fri, 13 Nov 2026 17:35:18 +0000
From: Debian FTP Masters <ftpmaster@ftp-master.debian.org>
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>
To: 1148462-close@bugs.debian.org
X-DAK: dak process-upload
X-Debian: DAK
X-Debian-Package: mdanse
Debian: DAK
Debian-Changes: mdanse_2.0.1-3_source.changes
Debian-Source: mdanse
Debian-Version: 2.0.1-3
Debian-Architecture: source
Debian-Suite: unstable
Debian-Archive-Action: accept
MIME-Version: 1.0
Subject: Bug#1148462: fixed in mdanse 2.0.1-3
Content-Type: multipart/signed; micalg="pgp-sha256";
 protocol="application/pgp-signature";
 boundary="===============4264342858769716114=="
Message-Id: <E1xRvBG-00000004Bea-2ZiE@fasolo.debian.org>
Date: Fri, 13 Nov 2026 17:35:18 +0000

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

Source: mdanse
Source-Version: 2.0.1-3
Done: Nico Della Torre <nicoz91@ubuntu.com>

We believe that the bug you reported is fixed in the latest version of
mdanse, 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 1148462@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <nicoz91@ubuntu.com> (supplier of updated mdanse package)

(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: Fri, 13 Nov 2026 11:17:09 +0100
Source: mdanse
Built-For-Profiles: nocheck nocheck nocheck
Architecture: source
Version: 2.0.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alio=
th.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1148462 1151477
Changes:
 mdanse (2.0.1-3) unstable; urgency=3Dmedium
 .
   * Team upload.
   * Build python3-mdanse as arch:all, fixes FTBFS with Python 3.15.
     Thanks to Maximiliano Curia (Closes: #1148462)
   * Build-Depend on python3 instead of python3-all, test only the default
     Python version as rdkit and mdtraj are not built for all versions
   * Add patch to relax the DCSF test tolerance on arm64
   * Build-Depend on python3-more-itertools (Closes: #1151477)
Checksums-Sha1:
 cdc71c4b3e1da72f41f1f189bdecee2f6901ac08 2443 mdanse_2.0.1-3.dsc
 185311c6ff1659016fe3e298288ebdb9712fe0ff 9068 mdanse_2.0.1-3.debian.tar.xz
 27a0939bf1f1ae0221d478946cee7258a62ebc51 18822 mdanse_2.0.1-3_amd64.buildinfo
Checksums-Sha256:
 9dc126266950ff6c0bc05552ab2e046a7a6fc9573236b0051fb48f63a276b9f1 2443 mdanse=
_2.0.1-3.dsc
 e8c32874288a35131105a223df313d09a24578afc94eb92e821ba17dc67f87b4 9068 mdanse=
_2.0.1-3.debian.tar.xz
 bd8ee93c330537263b435140a85519c54fde7a440655131077ac12da4c3d1d07 18822 mdans=
e_2.0.1-3_amd64.buildinfo
Files:
 3fd5408bc1a9b5e2dd6dfefe05f39920 2443 science optional mdanse_2.0.1-3.dsc
 a9eb3a8661074e9e33bfac5690d3989f 9068 science optional mdanse_2.0.1-3.debian=
.tar.xz
 74204e1decc4bdb084285f6f9c27f6a5 18822 science optional mdanse_2.0.1-3_amd64=
.buildinfo

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

iQIzBAEBCgAdFiEEtBU2D1kett1zr/uD0w3s0lmTIvwFAmr3RyQACgkQ0w3s0lmT
Ivxo7w/+INhuy8TJwWXTcrEhhKytk8oSRHRC/n3aFFFnZ8TrM7EQXmRtKmwhH8Sp
cRNIR4ggjxtVi2GpQZNv/1wwJC2q02Tn1zNHAQhWyL4fPlBZZRcjOpQulm4a8zuX
0FAz0112KKFymu5b804QihjAIUQBowymGNjX1NlbG8CQssyIcILjALejZ92YzPSz
0RomVJOjqD2m8hFwUe8uaO9cLxCWmcsaaoadpHKLOKmj3otEw1jjrDcf8KSxRZG5
uOE/C5923yIZfsvm3Bt4oG9fsDjwCjiRlCWfFZSZ96R8e+kdGgl7FkgiYIfKSpMK
Tp0LzXbCHCKq/febTl1xn24LOuKiN4DiIciQuzxOEhBM2kCNKnmadxyTPAVn5hju
F4QuG3sdwAvUBTSSi1D7BNQ4rGTChJukIbj4HZ99fNs2H330ScnsphQZrwv5v0qn
MLl7SRA61qENUlrN1rBHqvgkDHk1hs0cwuWM7sJG6M8Qp5PX8liK6tyxBz/53pDZ
jzhvBROZZx0Qjxgh4Ec+t3i187tIckhWMf5tO9JQJ9AqTnh4Q0B8MsG0UIod9nNd
ZoaF/YgYF7qjfL2/V5h9ZJdSQ3/rkZ+FAwEEahuVBCdcCqETV8rzN9IRvc3ERhyT
C/Lyqsvr7s0m0LvNVtayMcNqQup08Nigcz66qf9Y8eUQmb3v/OU=3D
=3D2WoS
-----END PGP SIGNATURE-----


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

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

iHUEABYIAB0WIQTziqJOuF8J+ZI8pJSb9qggYcy5IQUCavdKVgAKCRCb9qggYcy5
IXmHAQCKDUe+T9dZW3903EL8yGFXqyR3S5K1v09iaDDiBCtr0wD/S4cWhVxtV0QL
oGU948FQu8J4o+NxxdLngk9LatGmoQc=
=HOPL
-----END PGP SIGNATURE-----

--===============4264342858769716114==--
------------=_1794591421-1416942-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