From b1b3343ffcc315368b2f16b87eaddcde25c497eb Mon Sep 17 00:00:00 2001 From: Przemyslaw Wysocki Date: Thu, 14 Sep 2023 13:41:27 +0200 Subject: [PATCH] [PyOV] Bump `scipy` to a secure version and bump OMZ (#19458) * Bump omz and scipy * Separate versions per python version * Change scipy in pot --- tests/constraints.txt | 3 ++- thirdparty/open_model_zoo | 2 +- tools/pot/setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/constraints.txt b/tests/constraints.txt index 3c71d9b3d58..aae862f09a3 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -6,7 +6,8 @@ Jinja2>=2.11.2 pandas>=1.3.5 pymongo>=3.12.0 PyYAML>=5.4.1 -scipy>=1.7 +scipy>=1.7; python_version <= "3.8" +scipy>=1.11.1; python_version >= "3.9" wheel>=0.38.1 defusedxml>=0.7.1 fastjsonschema~=2.17.1 diff --git a/thirdparty/open_model_zoo b/thirdparty/open_model_zoo index 9719c4289b7..f08b9b080b2 160000 --- a/thirdparty/open_model_zoo +++ b/thirdparty/open_model_zoo @@ -1 +1 @@ -Subproject commit 9719c4289b7e0be6beab15102557fe50232eec61 +Subproject commit f08b9b080b240b4abd08830542ef532deeaf1da3 diff --git a/tools/pot/setup.py b/tools/pot/setup.py index 45d69b50efd..762c1923d12 100644 --- a/tools/pot/setup.py +++ b/tools/pot/setup.py @@ -67,7 +67,7 @@ if '--install-dev-extras' in sys.argv: INSTALL_REQUIRES = [ "numpy>=1.16.6", "scipy~=1.7; python_version == '3.7'", - "scipy>=1.8,<1.11; python_version >= '3.8'", + "scipy>=1.8; python_version >= '3.8'", "jstyleson>=0.0.2", "addict>=2.4.0", "networkx<=3.1",