From f4afc983258bcb2592d999ed6700043fdb58ad78 Mon Sep 17 00:00:00 2001 From: Jan Iwaszkiewicz Date: Mon, 22 Apr 2024 11:30:34 +0200 Subject: [PATCH] [PyOV] Limit numpy major version (#24131) ### Details: - Backport of https://github.com/openvinotoolkit/openvino/pull/24103 ### Tickets: - N/A Co-authored-by: Michal Lukaszewski --- src/bindings/python/requirements.txt | 2 +- tools/benchmark_tool/requirements.txt | 2 +- tools/mo/requirements.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bindings/python/requirements.txt b/src/bindings/python/requirements.txt index 8d74e89d548665..9aba9800ac1c84 100644 --- a/src/bindings/python/requirements.txt +++ b/src/bindings/python/requirements.txt @@ -1,3 +1,3 @@ -numpy>=1.16.6 +numpy>=1.16.6,<2.0.0 openvino-telemetry>=2023.2.1 packaging diff --git a/tools/benchmark_tool/requirements.txt b/tools/benchmark_tool/requirements.txt index 27c8e198ca9b78..0d79dcbb03b8ca 100644 --- a/tools/benchmark_tool/requirements.txt +++ b/tools/benchmark_tool/requirements.txt @@ -1,2 +1,2 @@ -c ../constraints.txt -numpy>=1.16.6 +numpy>=1.16.6,<2.0.0 diff --git a/tools/mo/requirements.txt b/tools/mo/requirements.txt index e667941407b25f..efc6bc8e1bc778 100644 --- a/tools/mo/requirements.txt +++ b/tools/mo/requirements.txt @@ -1,5 +1,5 @@ -c ../constraints.txt -numpy>=1.16.6 +numpy>=1.16.6,<2.0.0 importlib-metadata; python_version < "3.8" and sys_platform == "win32" networkx defusedxml