File: 0005-remove-hdf5plugin.patch

package info (click to toggle)
python-fabio 2024.9.0-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,844 kB
  • sloc: python: 21,160; ansic: 1,126; lisp: 450; makefile: 253; sh: 244
file content (49 lines) | stat: -rw-r--r-- 1,270 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
From: Yogeswaran Umasankar <kd8mbd@gmail.com>
Date: Sat, 8 Feb 2025 09:03:37 +0100
Subject: Fix for autopkgtests failure due to hdf5plugin

Forwarded: not-needed
Last-Update: 2024-03-15

hdf5plugin fails the tests during autopkgtest, so the depend
removed from the requirements. + Added shebang line in testutils.py.
---
 pyproject.toml              | 1 -
 requirements.txt            | 1 -
 src/fabio/test/testutils.py | 2 ++
 3 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pyproject.toml b/pyproject.toml
index 9921a3c..1909181 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -41,7 +41,6 @@ classifiers = [
 dependencies = [
    'numpy',
    'h5py',
-   'hdf5plugin',
    'lxml',
    'pillow'
 ]
diff --git a/requirements.txt b/requirements.txt
index 5f02e25..7725d2c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,7 +7,6 @@ numpy
 cython
 lxml>=4.6.3
 h5py
-hdf5plugin
 sphinx
 sphinxcontrib-programoutput
 sphinx-rtd-theme
diff --git a/src/fabio/test/testutils.py b/src/fabio/test/testutils.py
index 360de67..d2702e8 100755
--- a/src/fabio/test/testutils.py
+++ b/src/fabio/test/testutils.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+
 # coding: utf-8
 # /*##########################################################################
 #