Skip to content

Commit 624678d

Browse files
authored
Fix h5py issue in GHA test jobs (openvinotoolkit#24338)
**Details:** Fix h5py issue in GHA test jobs: `error: libhdf5.so: cannot open shared object file: No such file or directory` **Ticket:** TBD --------- Signed-off-by: Kazantsev, Roman <roman.kazantsev@intel.com>
1 parent 3414e36 commit 624678d

File tree

6 files changed

+7
-4
lines changed

6 files changed

+7
-4
lines changed

src/bindings/python/constraints.txt

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ wheel>=0.38.1
1616
patchelf<=0.17.2.1
1717

1818
# Frontends
19+
h5py>=3.1.0,<3.11.0
1920
docopt~=0.6.2
2021
paddlepaddle==2.5.2
2122
tensorflow>=1.15.5,<2.17.0
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
-c ../../../bindings/python/constraints.txt
22
numpy
3-
tensorflow
4-
# limit h5py version for Linux arm64, 3.11 version failed
5-
h5py<3.11.0; sys_platform == 'linux' and platform_machine == 'aarch64'
3+
h5py
4+
tensorflow

tests/constraints.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
numpy>=1.16.6,<1.27
22
attrs==23.2.0
33
distro==1.9.0
4-
h5py>=3.1.0
4+
h5py>=3.1.0,<3.11.0
55
Jinja2>=2.11.2
66
pandas>=1.3.5
77
pymongo>=3.12.0

tools/constraints.txt

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# some package versions need to be specified in respective requirements.txt
33
# files because the version differs between them:
44
# tensorflow, numpy
5+
h5py>=3.1.0,<3.11.0
56
mxnet~=1.2.0; sys_platform == 'win32'
67
mxnet>=1.7.0.post2,<=1.9.1; sys_platform != 'win32'
78
onnx>=1.8.1,<=1.15.0

tools/mo/requirements_tf.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-c ../constraints.txt
2+
h5py
23
tensorflow>=1.15.5,<2.17.0
34
numpy>=1.16.6,<1.26
45
networkx

tools/mo/requirements_tf2.txt

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-c ../constraints.txt
2+
h5py
23
tensorflow>=2.5,<2.17.0
34
numpy>=1.16.6,<1.26
45
networkx

0 commit comments

Comments
 (0)