Your message dated Fri, 13 Nov 2026 17:35:18 +0000
with message-id <[email protected]>
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 [email protected]
immediately.)


-- 
1148462: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1148462
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:mdanse
Version: 2.0.1-2
User: [email protected]
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 /\/\ /\ >< `/
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 <[email protected]>  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 <[email protected]>
+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

--- End Message ---
--- Begin Message ---
Source: mdanse
Source-Version: 2.0.1-3
Done: Nico Della Torre <[email protected]>

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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <[email protected]> (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 [email protected])


-----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 
<[email protected]>
Changed-By: Nico Della Torre <[email protected]>
Closes: 1148462 1151477
Changes:
 mdanse (2.0.1-3) unstable; urgency=medium
 .
   * 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 
mdanse_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=
=2WoS
-----END PGP SIGNATURE-----

Attachment: pgp44mBQzcDFs.pgp
Description: PGP signature


--- End Message ---

Reply via email to