Package: src:silx
Version: 2.2.2-5
User: [email protected]
Usertags: python3.15
Tags: patch, ftbfs, forky, sid
Hi!
While rebuilding the python related packages against the Python 3.15rc1
version we found that TODO fails to build from source [1].
This is due a change in h5py regarding the swmr_mode, the issue is
already fixed upstream [2] and included in the upstream release 3.0.0.
I applied the upstream fix in the sandbox [3] to be able to build the
packages that depend on silx, please consider applying the patch to
support the upcoming 3.15 version or updating the package to a newer
upstream version.
Happy hacking,
[1]:
https://debusine.debian.net/debian/r-python-python3.15/work-request/1102538/
[2]:
https://github.com/silx-kit/silx/commit/df66006b941575b6fd280f1d11db01a54416e96b
[3]: 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 /\/\ /\ >< `/
From: woutdenolf <[email protected]>
Date: Fri, 13 Mar 2026 15:48:47 +0100
Subject: Fix test: earliest libver is lower than v110 with h5py 3.16 which does not support SWMR
---
src/silx/io/test/test_h5py_utils.py | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/src/silx/io/test/test_h5py_utils.py b/src/silx/io/test/test_h5py_utils.py
index c98b022..c9695ff 100644
--- a/src/silx/io/test/test_h5py_utils.py
+++ b/src/silx/io/test/test_h5py_utils.py
@@ -153,9 +153,14 @@ class TestH5pyUtils(unittest.TestCase):
self._subtest_options = {"mode": "w"}
self.filename_generator = self._filenames()
yield self._subtest_options
+
+ self._subtest_options = {"mode": "w", "libver": "v110"}
+ self.filename_generator = self._filenames()
+ yield self._subtest_options
+
self._subtest_options = {"mode": "w", "libver": "latest"}
self.filename_generator = self._filenames()
- yield
+ yield self._subtest_options
def _filenames(self):
i = 1
@@ -332,6 +337,12 @@ class TestH5pyUtils(unittest.TestCase):
@subtests
@unittest.skipIf(not h5py_utils.HAS_SWMR, "SWMR not supported")
def test_modes_multi_process_swmr(self):
+ libver = self._subtest_options.get("libver", "earliest")
+ if libver == "earliest":
+ self.skipTest(
+ "HDF5 file version is 'earliest': SWMR is not always supported since it needs v110"
+ )
+
filename = self._new_filename()
with self._open_context(filename, mode="w", libver="latest") as f: