-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CI] [GHA] Fix openvino.test_utils
imports for Mac and Win Python unittests
#20786
[CI] [GHA] Fix openvino.test_utils
imports for Mac and Win Python unittests
#20786
Conversation
…ntroduce-linux-arm64-as-matrix
…nsfer-win-mac-to-local-setup-py-action
…nsfer-win-mac-to-local-setup-py-action
…-paths-for-imports-win-mac
.github/workflows/mac.yml
Outdated
# Used for 'test_utils' installed in '<test_package>/python/openvino/test_utils' | ||
export PYTHONPATH=${{ env.INSTALL_TEST_DIR }}/python/openvino/test_utils:$PYTHONPATH |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we use test_utils
from the test package or from the installed OV wheels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Installed OV wheels contain product part of OpenVINO and don't contain any test utils.
So, we need to use it from test package
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are test_utils
even in the wheels?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is no test_utils
module in wheel
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad, did not update the page after the first comment, thanks for the clarification.
The previously failing tests with |
…nittests (openvinotoolkit#20786) * add platform-agnostic setup python action * use specific version * rm debug message, checkout action * correct path * add checkout of the action, correct paths * correct path; enclose into brackets * transfer linux pipelines to local setup-python action * transfer pipelines * use newer version * account for fedora, add missing cache path * correct name * use 3.9 for fedora * rm python install from fedora * mv fetch and setup together, set pip_cache_dir * correct order * rm triggers * add missing pythonpaths * correct path * add one more pythonpath * add paths to ov package libs * Revert "add paths to ov package libs" This reverts commit a775881.
…nittests (openvinotoolkit#20786) * add platform-agnostic setup python action * use specific version * rm debug message, checkout action * correct path * add checkout of the action, correct paths * correct path; enclose into brackets * transfer linux pipelines to local setup-python action * transfer pipelines * use newer version * account for fedora, add missing cache path * correct name * use 3.9 for fedora * rm python install from fedora * mv fetch and setup together, set pip_cache_dir * correct order * rm triggers * add missing pythonpaths * correct path * add one more pythonpath * add paths to ov package libs * Revert "add paths to ov package libs" This reverts commit a775881.
Tickets: