Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

Use pyOv tests requirements (#27252)

Anastasia Kuporosovaeb80f9b89c95
diff --git a/.github/workflows/job_python_unit_tests.yml b/.github/workflows/job_python_unit_tests.yml
index 1dd6ebbfc20..64be9ef4bbc 100644
--- a/.github/workflows/job_python_unit_tests.yml
+++ b/.github/workflows/job_python_unit_tests.yml
@@ -111,10 +111,7 @@ jobs:
run: |
# To enable pytest parallel features
python3 -m pip install pytest-xdist[psutil]
- # For torchvision to OpenVINO preprocessing converter
- python3 -m pip install -r ${INSTALL_TEST_DIR}/python/preprocess/torchvision/requirements.txt
-
- # TODO: replace with Python API tests requirements
+ python3 -m pip install -r ${INSTALL_TEST_DIR}/bindings/python/requirements_test.txt
python3 -m pip install -r ${INSTALL_TEST_DIR}/mo/requirements_dev.txt
#
@@ -158,6 +155,9 @@ jobs:
- name: Install Python Layer tests dependencies
run: |
+ # For torchvision to OpenVINO preprocessing converter
+ python3 -m pip install -r ${INSTALL_TEST_DIR}/python/preprocess/torchvision/requirements.txt
+
# layer test requirements
python3 -m pip install -r ${LAYER_TESTS_INSTALL_DIR}/requirements.txt
@@ -267,7 +267,7 @@ jobs:
if: ${{ fromJSON(inputs.affected-components).Python_API.test }}
run: |
python3 -m pip uninstall -y numpy
- python3 -m pip install "numpy>=2.0.0,<2.1.0"
+ python3 -m pip install "numpy>=2.0.0,<2.2.0"
python3 -m pip install -r ${INSTALL_TEST_DIR}/bindings/python/requirements_test.txt
# for 'template' extension
export LD_LIBRARY_PATH=${INSTALL_TEST_DIR}:$LD_LIBRARY_PATH