diff --git a/tools/pot/openvino/tools/pot/algorithms/quantization/optimization/algorithm.py b/tools/pot/openvino/tools/pot/algorithms/quantization/optimization/algorithm.py index 61308579457..401cc5e7630 100644 --- a/tools/pot/openvino/tools/pot/algorithms/quantization/optimization/algorithm.py +++ b/tools/pot/openvino/tools/pot/algorithms/quantization/optimization/algorithm.py @@ -33,7 +33,7 @@ except ImportError: 'Nevergrad package could not be imported. If you are planning to use ' 'any hyperparameter optimization algo, consider installing it ' 'using pip. This implies advanced usage of the tool. ' - 'Note that nevergrad is compatible only with Python 3.7+' + 'Note that nevergrad is compatible only with Python 3.8+' ) try: diff --git a/tools/pot/setup.py b/tools/pot/setup.py index 762c1923d12..48f02f60f96 100644 --- a/tools/pot/setup.py +++ b/tools/pot/setup.py @@ -66,8 +66,7 @@ if '--install-dev-extras' in sys.argv: INSTALL_REQUIRES = [ "numpy>=1.16.6", - "scipy~=1.7; python_version == '3.7'", - "scipy>=1.8; python_version >= '3.8'", + "scipy>=1.8", "jstyleson>=0.0.2", "addict>=2.4.0", "networkx<=3.1", @@ -89,10 +88,10 @@ DEPENDENCY_LINKS = [] python_version = sys.version_info[:2] if python_version[0] < 3: - print('Only Python >= 3.7 is supported by POT/OV') + print('Only Python >= 3.8 is supported by POT/OV') sys.exit(0) -elif python_version[1] < 7: - print('Only Python >= 3.7 is supported by POT/OV') +elif python_version[1] < 8: + print('Only Python >= 3.8 is supported by POT/OV') sys.exit(0) diff --git a/tools/pot/tests/data/reference_models/resnet_example_RangeSupervision_pytorch.xml b/tools/pot/tests/data/reference_models/resnet_example_RangeSupervision_pytorch.xml index 4032b318b56..eb573341702 100644 --- a/tools/pot/tests/data/reference_models/resnet_example_RangeSupervision_pytorch.xml +++ b/tools/pot/tests/data/reference_models/resnet_example_RangeSupervision_pytorch.xml @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:8c20a1ec0c1046013c163a6ab782e27938a0ad7d65eaf09e1ff8ecc991fe57e9 +oid sha256:eadb5fd2ef0c5693b33a190d2370c14534784c99f6f5900071d87cd40652ff6d size 52734 diff --git a/tools/pot/tests/data/reference_models/resnet_example_range_supervision_pytorch.xml b/tools/pot/tests/data/reference_models/resnet_example_range_supervision_pytorch.xml index 909b43485f4..de0a351a7e0 100644 --- a/tools/pot/tests/data/reference_models/resnet_example_range_supervision_pytorch.xml +++ b/tools/pot/tests/data/reference_models/resnet_example_range_supervision_pytorch.xml @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:0c423d68b3fe0d72724006f5cc79e03530ed2fd256a180fcdddf78d3c38bacce +oid sha256:3d26e5cc565479c05b57f645138ae8d6b1048663236818a5aa60105d978002af size 52734 diff --git a/tools/pot/tests/utils/command.py b/tools/pot/tests/utils/command.py index ea2a330d87a..a9490cc614d 100644 --- a/tools/pot/tests/utils/command.py +++ b/tools/pot/tests/utils/command.py @@ -22,9 +22,9 @@ class Command: # set system/version dependent 'start_new_session' analogs if sys.platform == 'win32': self.kwargs.update(creationflags=subprocess.CREATE_NEW_PROCESS_GROUP) - elif sys.version_info < (3, 7): # assume posix + elif sys.version_info < (3, 8): # assume posix self.kwargs.update(preexec_fn=os.setsid) - else: # Python 3.7+ and Unix + else: # Python 3.8+ and Unix self.kwargs.update(start_new_session=True) def kill_process_tree(self, pid):