Your message dated Sun, 01 Nov 2026 10:20:26 +0000
with message-id <[email protected]>
and subject line Bug#1142946: fixed in io4dolfinx 1.5.0-1
has caused the Debian Bug report #1142946,
regarding test_xdmf_function fails with complex number support
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.)
--
1142946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1142946
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: io4dolfinx
Version: 1.2.0-1
Severity: serious
Control: forwarded -1
https://github.com/scientificcomputing/io4dolfinx/issues/66
test_xdmf_function in test_xdmf.py fails when run with dolfinx 0.10
built with complex number support.
https://ci.debian.net/packages/i/io4dolfinx/testing/amd64/72528850/#S14
Reported upstream, issue #66
https://github.com/scientificcomputing/io4dolfinx/issues/66
4552s =================================== FAILURES
===================================
4552s ______________________________ test_xdmf_function
______________________________
4552s
4552s tmp_path =
PosixPath('/tmp/autopkgtest-lxc.40nbiv74/downtmp/autopkgtest_tmp/io4dolfinx_complex_py3.14/test_xdmf_function0')
4552s
4552s def test_xdmf_function(tmp_path):
4552s tmp_path = MPI.COMM_WORLD.bcast(tmp_path, root=0)
4552s mesh = dolfinx.mesh.create_unit_square(MPI.COMM_WORLD, 8, 10)
4552s
4552s def f(x):
4552s return (x[0], x[1], -2 * x[1], 3 * x[0])
4552s
4552s V = dolfinx.fem.functionspace(mesh, ("Lagrange", 1, (4,)))
4552s u = dolfinx.fem.Function(V, name="u")
4552s u.interpolate(f)
4552s
4552s tmp_file = tmp_path / "function.xdmf"
4552s with dolfinx.io.XDMFFile(MPI.COMM_WORLD, tmp_file, "w") as xdmf:
4552s xdmf.write_mesh(mesh)
4552s xdmf.write_function(u)
4552s
4552s MPI.COMM_WORLD.barrier()
4552s
4552s in_grid = io4dolfinx.read_mesh(tmp_file, MPI.COMM_WORLD,
backend="xdmf")
4552s names = io4dolfinx.read_function_names(
4552s tmp_file, MPI.COMM_WORLD, backend_args={}, backend="xdmf"
4552s )
4552s assert len(names) == 1
4552s assert names[0] == "u"
4552s
4552s > u = io4dolfinx.read_point_data(tmp_file, "u", in_grid,
backend="xdmf")
4552s
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4552s
4552s tests/test_xdmf.py:64:
4552s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
4552s /usr/lib/python3/dist-packages/io4dolfinx/readers.py:406: in
read_point_data
4552s dataset, local_range_start = backend_cls.read_point_data(
4552s _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _
4552s
4552s filename =
PosixPath('/tmp/autopkgtest-lxc.40nbiv74/downtmp/autopkgtest_tmp/io4dolfinx_complex_py3.14/test_xdmf_function0/function.xdmf')
4552s name = 'u', comm = <mpi4py.MPI.Intracomm object at 0x7fec89a2ef40>, time
= None
4552s backend_args = {}
4552s
4552s def read_point_data(
4552s filename: Path | str,
4552s name: str,
4552s comm: MPI.Intracomm,
4552s time: float | str | None,
4552s backend_args: dict[str, Any] | None,
4552s ) -> tuple[np.ndarray, int]:
4552s """Read data from the nodes of a mesh.
4552s
4552s Args:
4552s filename: Path to file
4552s name: Name of point data
4552s comm: Communicator to launch IO on.
4552s time: The time stamp
4552s backend_args: The backend arguments
4552s
4552s Returns:
4552s Data local to process (contiguous, no mpi comm) and local
start range
4552s """
4552s # Find function with name u in xml tree
4552s check_file_exists(filename)
4552s filename = Path(filename)
4552s
4552s tree = ElementTree.parse(filename)
4552s root = tree.getroot()
4552s backend_args = get_default_backend_args(backend_args)
4552s if time is not None:
4552s time_steps = root.findall(f".//Grid[@Name='{name}']")
4552s time_found = False
4552s for time_node in time_steps:
4552s step_node = time_node.find(".//Time")
4552s assert isinstance(step_node, ElementTree.Element)
4552s if np.isclose(float(step_node.attrib["Value"]),
float(time)):
4552s time_found = True
4552s break
4552s func_node = time_node.find(f".//Attribute[@Name='{name}']")
4552s if not time_found:
4552s raise RuntimeError(f"Function {name} at time={time} not
found in {filename}")
4552s else:
4552s func_node = root.find(f".//Attribute[@Name='{name}']")
4552s > assert isinstance(func_node, ElementTree.Element)
4552s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4552s E AssertionError
4552s
4552s /usr/lib/python3/dist-packages/io4dolfinx/backends/xdmf/backend.py:134:
AssertionError
4552s =========================== short test summary info
============================
4552s FAILED tests/test_xdmf.py::test_xdmf_function - AssertionError
4552s ============ 1 failed, 1274 passed, 8 skipped in 404.88s (0:06:44)
=============
4552s autopkgtest [13:37:59]: test test-io4dolfinx-complex:
-----------------------]
--- End Message ---
--- Begin Message ---
Source: io4dolfinx
Source-Version: 1.5.0-1
Done: Drew Parsons <[email protected]>
We believe that the bug you reported is fixed in the latest version of
io4dolfinx, 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.
Drew Parsons <[email protected]> (supplier of updated io4dolfinx 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: Sun, 01 Nov 2026 10:07:36 +0100
Source: io4dolfinx
Architecture: source
Version: 1.5.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers
<[email protected]>
Changed-By: Drew Parsons <[email protected]>
Closes: 1142946
Changes:
io4dolfinx (1.5.0-1) unstable; urgency=medium
.
* New upstream release
- fixes complex number support in xdmf. Closes: #1142946
- Depends: python3-fenicsx-compat, python3-dolfinx (>= 1:0.10.0~)
* drop use of pytest --basetemp in test-io4dolfinx-network.
It causes error in exodus tests with python3.14.
Checksums-Sha1:
6d83d7e9525efb207a3d2558581f35361dce8ff7 2878 io4dolfinx_1.5.0-1.dsc
7761f53fea4a0fcbeab018d4423e1cbac22d5a51 147097 io4dolfinx_1.5.0.orig.tar.gz
4db551a99c88621c2aad4b8f9ec26dfcf3c7e493 6068 io4dolfinx_1.5.0-1.debian.tar.xz
8cd958ec076fa5112498b2a7e0d9a5377fe9913f 28711
io4dolfinx_1.5.0-1_amd64.buildinfo
Checksums-Sha256:
1cf25456c158e22cfb64a581a0c0c071cd0be4814f2263044c1bd8541f263c67 2878
io4dolfinx_1.5.0-1.dsc
6a6b591a1f61b5f8d2f387025611bcaddeaae5acb7b09f6f4975967ce7782103 147097
io4dolfinx_1.5.0.orig.tar.gz
8923b3a955801779db74401b2a546ec0550d85bb3c8996f83fc88303f533e405 6068
io4dolfinx_1.5.0-1.debian.tar.xz
018eec907a1846bfd8b67bca437b9907964fa9041bfef80f093d6d5365ca3b69 28711
io4dolfinx_1.5.0-1_amd64.buildinfo
Files:
2194632d9afd76dbed3a2e07b6a32514 2878 science optional io4dolfinx_1.5.0-1.dsc
a6fff5d1a0a3f32b6e21e0b2936b3f56 147097 science optional
io4dolfinx_1.5.0.orig.tar.gz
c1f50b0c6a85661ee3154ee634334779 6068 science optional
io4dolfinx_1.5.0-1.debian.tar.xz
b5b1bb2faee7c2e68267b8dfc48d67ed 28711 science optional
io4dolfinx_1.5.0-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmrnD8MACgkQVz7x5L1a
Afr/wRAAiKbiAoPhSb+7L9fKRCI/CNbMDJTeR3ikJKbeaD1+AlDafaizOJFCuaxy
1PFhFMT5RLeroH102Wlbmmr6Rl4oBu1uimRBWftlNPca6RmP57uG4Rbtu0ZBA7Ej
Bx6Y3BMzWt0jUDi8zIf0Pil4lERRPuK3MQaQt1vjc3QACfHrv8t9ZtSsWuCZ3zMf
QBgy4YkuPoPuEhAzK1OtGaPkiQcXscLwPvUwT9IAHr+oTuG/Z7ZNdaLZwrkYq/5+
soIcC4KwJAnQ35dNhM5+MmXH086ogmVlhsYjgLC4Pmjp9YzYdYMGCQnYZuhqlSsL
XdyZhk+O2BRYwMmrhiFkYnp4MmrPJjGbRXrCnAjw86McW1faNJrbPYESioPCbHob
hogmyVJstfpJU2TAGTvKqOtYJ1QtIjbr5hZUxyECSWy+ktyrnrbSYVSZCKmJRbuV
xCqErvLkorGN9hx+hW8l6kEKDcfbGDLZvMdqsDqPAoYqiNhlTWIA/8UKza/byu1V
QXEOmzk6uMuWS1+H3NXox/h3lg+SvCKQZk1ximgh6DzdVihcqnmGt27V0+TpYhXO
0SqzZH9OcqBTrH4mpTz63FmDyNG83T6MI6PhJbsFyeAjtuQ3QTv3hO4kFt6YAwsy
4aXh9iv0ibE7CX6/0YgNpC1rb2DqDf2kvskWNOVU31G+GW3xaw4=
=Mjre
-----END PGP SIGNATURE-----
pgp7PowyKdHrU.pgp
Description: PGP signature
--- End Message ---