Skip to content

do.sh: Upgrade pip before trying to install requirements.#203

Merged
almusil merged 2 commits intoovn-org:mainfrom
dceara:upgrade-pip
Sep 29, 2025
Merged

do.sh: Upgrade pip before trying to install requirements.#203
almusil merged 2 commits intoovn-org:mainfrom
dceara:upgrade-pip

Conversation

@dceara
Copy link
Collaborator

@dceara dceara commented Sep 29, 2025

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.

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>
@almusil almusil merged commit 5386da0 into ovn-org:main Sep 29, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants