Skip to content

Commit b0cd2d5

Browse files
committed
Update the numpy version for CI.
Signed-off-by: Jay Zhang <[email protected]>
1 parent 68f4861 commit b0cd2d5

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/keras_application_test_ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
pip install transformers==4.2.0
8585
pip install keras-self-attention
8686
pip install pytest pytest-cov pytest-runner
87-
pip install numpy==1.21.6
87+
pip install "numpy<2"
8888
8989
pip install -e .
9090

.github/workflows/keras_unit_test_ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,8 @@ jobs:
6767
pip install onnxruntime==${{ matrix.ort_version }}
6868
pip uninstall -y protobuf
6969
pip install "protobuf~=3.20"
70-
pip install numpy==1.21.6
70+
pip install "numpy<2"
71+
7172
pip install -e .
7273
7374
echo "----- List all of depdencies:"

tests/utils/setup_test_env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ echo "==== ONNX version: $ONNX_VERSION"
1818
pip install pytest pytest-cov pytest-runner coverage graphviz requests pyyaml pillow pandas parameterized sympy coloredlogs flatbuffers timeout-decorator
1919
pip install onnx==$ONNX_VERSION
2020
pip install onnxruntime==$ORT_VERSION
21-
pip install numpy==1.21.6
21+
pip install "numpy<2"
2222

2323
pip install onnxruntime-extensions
2424
pip install "tensorflow-text<=$TF_VERSION"

0 commit comments

Comments
 (0)