diff --git a/src/bindings/python/requirements.txt b/src/bindings/python/requirements.txt index 96fcd1b1ff4..35960f4c992 100644 --- a/src/bindings/python/requirements.txt +++ b/src/bindings/python/requirements.txt @@ -1 +1 @@ -numpy>=1.16.6,<=1.23.4 +numpy>=1.16.6,<1.25 diff --git a/src/bindings/python/setup.cfg b/src/bindings/python/setup.cfg index fbe118e76fc..373d7a86540 100644 --- a/src/bindings/python/setup.cfg +++ b/src/bindings/python/setup.cfg @@ -17,6 +17,7 @@ passenv = commands= {envbindir}/python setup.py bdist_wheel {envbindir}/pip install --no-index --pre --find-links=dist/ openvino + pip install numpy<=1.23.5 # ONNX==1.12 requires numpy<1.24 pytest --backend={env:OV_BACKEND} tests -m "not template_plugin" -v -k 'not _cuda' --ignore=tests/test_onnx/test_zoo_models.py --ignore=tests/test_utils pytest --backend={env:OV_BACKEND} tests_compatibility/test_ngraph -v -k 'not _cuda' --ignore=tests_compatibility/test_onnx/test_zoo_models.py @@ -24,6 +25,7 @@ commands= commands= {envbindir}/python setup.py bdist_wheel {envbindir}/pip install --no-index --pre --find-links=dist/ openvino + pip install numpy<=1.23.5 # ONNX==1.12 requires numpy<1.24 pytest --backend={env:OV_BACKEND} tests/test_onnx/test_zoo_models.py -v -n 4 --forked -k 'not _cuda' --model_zoo_xfail [testenv:devenv]