do.sh: Upgrade pip before trying to install requirements.#203
Merged
almusil merged 2 commits intoovn-org:mainfrom Sep 29, 2025
Merged
do.sh: Upgrade pip before trying to install requirements.#203almusil merged 2 commits intoovn-org:mainfrom
almusil merged 2 commits intoovn-org:mainfrom
Conversation
Reported by flake8: ./ovn-tester/ovn_stats.py:32:5: F824 `global timed_functions` is unused: name is never assigned in scope https://github.com/ovn-org/ovn-heater/actions/runs/18093736973/ Signed-off-by: Dumitru Ceara <dceara@redhat.com>
Without it the installed pip version (not latest) will fail to install
the requirements. E.g.:
ERROR: Exception:
Traceback (most recent call last):
[..]
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
[...]
File "<frozen importlib._bootstrap>", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_pyyaml_pep517'
WARNING: You are using pip version 19.3.1; however, version 25.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
Signed-off-by: Dumitru Ceara <dceara@redhat.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Without it the installed pip version (not latest) will fail to install the requirements. E.g.:
ERROR: Exception:
Traceback (most recent call last):
[..]
pip._vendor.pep517.wrappers.BackendUnavailable: Traceback (most recent call last):
[...]
File "", line 973, in _find_and_load_unlocked
ModuleNotFoundError: No module named '_pyyaml_pep517'
WARNING: You are using pip version 19.3.1; however, version 25.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.