File: 0002-relax-h5py-scipy-pyopencl-dependency-for-backportabl.patch

package info (click to toggle)
pynx 2025.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 38,288 kB
  • sloc: python: 53,283; lisp: 6,474; ansic: 1,186; makefile: 210; sh: 40
file content (30 lines) | stat: -rw-r--r-- 1,535 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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'],