Skip to content

Commit

Permalink
Fix Numpy & h5py bug in 1.7.0 (opensearch-project#562)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Hoang <[email protected]>
Co-authored-by: Ian Hoang <[email protected]>
  • Loading branch information
2 people authored and finnroblin committed Jul 19, 2024
1 parent 0d9a565 commit 351b1b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ RUN apt-get -y update && \
RUN groupadd --gid 1000 opensearch-benchmark && \
useradd -d /opensearch-benchmark -m -k /dev/null -g 1000 -N -u 1000 -l -s /bin/bash benchmark

RUN python3 -m pip install h5py==3.10.0; if [ -z "$VERSION" ] ; then python3 -m pip install opensearch-benchmark ; else python3 -m pip install opensearch-benchmark==$VERSION ; fi
RUN if [ -z "$VERSION" ] ; then python3 -m pip install opensearch-benchmark ; else python3 -m pip install opensearch-benchmark==$VERSION ; fi

WORKDIR /opensearch-benchmark

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def str_from_file(name):
"h5py>=3.10.0",
# License: BSD
# Required for knnvector workload
"numpy>=1.24.2",
"numpy>=1.24.2,<=1.26.4",
]

tests_require = [
Expand Down

0 comments on commit 351b1b5

Please sign in to comment.