#1139569 silx: FTBFS against HDF5 2.1.0 - TestH5pyUtils.test_modes_multi_process_swmr [{'mode': 'w'}]

Package:
src:silx
Source:
src:silx
Submitter:
Gilles Filippini
Date:
2026-09-14 07:07:02 UTC
Severity:
normal
Tags:
#1139569#5
Date:
2026-06-09 19:35:12 UTC
From:
To:
Hi,

During a test rebuild of HDF5's reverse dependcies against HDF5 2.1.0
currently in experimental, silx FTBFS with 1 failed test (twice):

silx/io/test/test_h5py_utils.py:140:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <silx.io.test.test_h5py_utils.TestH5pyUtils testMethod=test_modes_multi_process_swmr>

    @subtests
    @unittest.skipIf(not h5py_utils.HAS_SWMR, "SWMR not supported")
    def test_modes_multi_process_swmr(self):
        filename = self._new_filename()

        with self._open_context(filename, mode="w", libver="latest") as f:
            pass

        # File open by SWMR writer
        with self._open_context_subprocess(filename, mode="a", swmr=True):
            with self._open_context(filename, mode="r") as f:

silx/io/test/test_h5py_utils.py:343: AssertionError
=============================== warnings summary ===============================
silx/io/test/test_h5py_utils.py: 10 warnings
  /usr/lib/python3.13/multiprocessing/popen_fork.py:67: DeprecationWarning: This process (pid=14626) is multi-threaded, use of fork() may lead to deadlocks in the child.
    self.pid = os.fork()

- -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
SUBFAILED[{'mode': 'w'}] silx/io/test/test_h5py_utils.py::TestH5pyUtils::test_modes_multi_process_swmr
========== 1 failed, 1153 passed, 1371 skipped, 10 warnings in 25.53s ==========


Don't hesitate to reach out if you need help from HF5 devs which I'm
in touch with and who are willing to help making HDF5 2.1.0 land into
testing.

Best,
_g.

- -- System Information:
Debian Release: 12.0
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-44-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEoJObzArDE05WtIyR7+hsbH/+z4MFAmooaucACgkQ7+hsbH/+
z4P8eAf+PI1p9WEWzmCJ760xM9pUWTCMmFMQFvcApIjLbyYzMFW5vR/gZ1OZnG8t
4GoAI8oBSVUgpasvKgD0bcewUC2DI/NB22+4lMhdiA2fbvaaN93/ChXE3ovJbVdt
o7P5JO+bbrkkamLTydjW2yterHuZexyjmXT8K9TJRl29ulFZ5fZ5YXa6plYl4YFj
mwXmC6h01nNvGMrMUAN1jc/jKxKmIp9Xpmukm7bdxLuesbpGGXWQJNweIVXsN6Z5
aMhdtAlRpldLLu97mT5xZYc3xOrngmFG9cHiTxO5MeBsqvQpaZ5V0qB+sHnZU3K1
aVnqzNlqRuh0pOjWJpoMh08PuC0qYg==
=cdmA
-----END PGP SIGNATURE-----

#1139569#10
Date:
2026-06-19 12:24:51 UTC
From:
To:
Hi,

Gilles Filippini a écrit le 09/06/2026 à 21:35 :
The atteched patch fixes the problem.

Best,
_g.

#1139569#19
Date:
2026-09-14 07:06:54 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
silx, 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 1139569@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stuart Prescott <stuart@debian.org> (supplier of updated silx 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)
Format: 1.8
Date: Mon, 14 Sep 2026 14:32:58 +1000
Source: silx
Architecture: source
Version: 2.2.2-6
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
Changed-By: Stuart Prescott <stuart@debian.org>
Closes: 1139569 1145504
Changes:
 silx (2.2.2-6) unstable; urgency=medium
 .
   * Team upload.
   * Cherry-pick upstream patch for compatibility with newer h5py, with thanks
     to Gilles Filippini and Maximiliano Curia for finding and forwarding the
     patch (Closes: #1139569, #1145504).
   * Drop unneeded Priority:optional and R3:no.
   * Update Standards-Version to 4.7.4 (no changes required).
   * Point d/copyright at common-licenses for CC0.
   * Add lintian overrides to improve S/N.
   * Add xfail to a Qt-based test that appears to the flaky.
Checksums-Sha1:
 5b9d1346d25c0019e8a9f85c55504c5004070c33 3398 silx_2.2.2-6.dsc
 285950cdd8c0b68d014e82e0c260b59eba4704b7 158296 silx_2.2.2-6.debian.tar.xz
 b2774d36d7218c8bb02043420b108d10ed3e4cc1 20116160 silx_2.2.2-6.git.tar.xz
 348ae397be39c021b354546e08a0efbe2fa06f39 17656 silx_2.2.2-6_source.buildinfo
Checksums-Sha256:
 15b06aa53c9bada86c403a453792b599377c067d04d630b2b4fe9878de7daa48 3398 silx_2.2.2-6.dsc
 06562b1dd0bae789f7fed02897b342fb04af9f22e34402985ae6aa1dfcda9c51 158296 silx_2.2.2-6.debian.tar.xz
 b1c0d04e7b49b4dd5044595d226adbb9467c4082c9eee5f0a955f8aef8d8af78 20116160 silx_2.2.2-6.git.tar.xz
 29c023190c6ac41d6e10150db260d05b69b6f3f2e9013c247c55cc4fe08b1af4 17656 silx_2.2.2-6_source.buildinfo
Files:
 77694ee40ff6208fc52a04b7fbb1f41e 3398 science optional silx_2.2.2-6.dsc
 eb61024daf4b0af2eae1e80ba49524ac 158296 science optional silx_2.2.2-6.debian.tar.xz
 c8426c947c06e27559ade99d465ad219 20116160 science None silx_2.2.2-6.git.tar.xz
 78e27a7a9ad72e4e1eade044be07265b 17656 science optional silx_2.2.2-6_source.buildinfo
Git-Tag-Info: tag=bc6a91279a7fdcc571e4f9e838a6a658da7a2f27 fp=90e2d2c1ad146a1b7ebb891dbbc17ebb1396f2f7
Git-Tag-Tagger: Stuart Prescott <stuart@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqnmiAACgkQYG0ITkaD
wHkJNhAAoeVXQjzmtIsq02fho5xmjRv/DT4hHCy64hzWbU+pd9fzjstk3CoRgr5c
RtAyBrEqOpSk4DDISA47heOd4iTizFJ/wkaNtZNPdm5EHtcS43/cd3Z7Dp38wmrr
rPpysIZ6XLPqzXSS+TPgfX/rS7xmWoqP9QLLQDTRnxHVxj5pJ7eI8IfvbGxG7MV6
HvFwvmUlVeP52aktnYEHk9HIks3W55U/Kipju9EVfQ2KpQ+7Aq0xws6hUN7gYzBa
5ttfGRL4SADTr0bIKaQEz7U0w3aNEt4KzKvGaAToKsVrA6ccGdfjMWaXPiVYbZZu
0BraWA40fk+35KB2gDQC0Asuxjkz80HCdTDS+irNhGE+E2z7/KTsDMe/NjUYVpUF
83KdtIQ8HnWkxDmjlJmPxbpmk5xyLze8+64Zq2tCFffzwn/6c6kumHrh+ZIwC+du
pxPkvVDp2G5z3J+VIumDcEow0lS9DszZ9M1DTZoDrPB3Eh3jzskCrtfK6B0K0oU4
Gf/NXhS5jF8U3kMXTtozokPp3q7dZAXX0sQHya4snU6K2lhoVaQfCywoS3ho5ppB
a23YmaAXMcgP69h3NGOHnLIqWNKK0XEn81cIat04Fjbl4FcNV0INGdMsK3GCqQDv
C8Fy5T3d9sSNITY/rhuj8R6O1KbK4Qfbh14sPc9m42kW7vhOkyI=
=Au9m
-----END PGP SIGNATURE-----