From 0bfe6acdac8ae9fed31463f9413b7a72ce5ecb6e Mon Sep 17 00:00:00 2001 From: Andrei Pavel Date: Mon, 3 Jun 2024 20:16:45 +0300 Subject: [PATCH] [#3350] upgrade pip in hammer for rhel Fixes this on RHEL 8: You are using pip version 9.0.3, however version 24.0 is available. --- hammer.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hammer.py b/hammer.py index e08b08e0a7..036c941efd 100755 --- a/hammer.py +++ b/hammer.py @@ -1763,6 +1763,8 @@ def install_packages_local(system, revision, features, check_times, ignore_error # kea-packaging points Kea to the venv using --with-sphinx. execute('python3 -m venv ~/venv', env=env, timeout=60, check_times=check_times) + execute('~/venv/bin/pip install --upgrade pip', + env=env, timeout=120, check_times=check_times) execute('~/venv/bin/pip install sphinx sphinx-rtd-theme', env=env, timeout=120, check_times=check_times) -- 2.47.2