From: =?utf-8?q?Picca_Fr=C3=A9d=C3=A9ric-Emmanuel?= <picca@debian.org>
Date: Sat, 18 Jan 2025 11:09:17 +0100
Subject: relax h5py/scipy/pyopencl dependency for backportable on bookworm

  * h5py -> removed the h5py bookwork package does not provide version
    info (solved in trixie)
  * hdf5plugin -> removed also due to the h5py issue
  * scipy -> relaxed (not available in bookworm)
  * pyopencl -> relaxed (not available in bookworm)
---
 setup.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index 9a5e45c..a1abac4 100644
--- a/setup.py
+++ b/setup.py
@@ -156,9 +156,9 @@ setup(
     ext_modules=cython_modules,
     python_requires='>=3.9',
     setup_requires=setup_requires,
-    install_requires=['numpy>=1.23', 'scipy>=1.13', 'matplotlib', 'scikit-image>=0.17',
-                      'h5py>=2.9', 'hdf5plugin', 'fabio', 'silx', 'packaging', 'psutil', 'scikit-learn',
-                      'mako', 'numexpr', 'pyopencl>=2023', 'pyvkfft>=2024', 'nxtomo>=1.3',
+    install_requires=['numpy>=1.23', 'scipy>=1.10', 'matplotlib', 'scikit-image>=0.17',
+                      'fabio', 'silx', 'packaging', 'psutil', 'scikit-learn',
+                      'mako', 'numexpr', 'pyopencl>=2022', 'pyvkfft>=2024', 'nxtomo>=1.3',
                       'pooch', 'tomoscan>=2.1', 'pytools'],
     extras_require={'cuda': ['pycuda>=2023'], 'gid': ["cctbx"], 'mpi': ['mpi4py'],
                     'doc': ['sphinx', 'nbsphinx', 'nbsphinx-link', 'sphinx-argparse', 'pydata-sphinx-theme'],
