From: Andrei Pavel Date: Mon, 3 Jun 2024 17:16:45 +0000 (+0300) Subject: [#3350] upgrade pip in hammer for rhel X-Git-Tag: Kea-2.7.0~73 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bfe6acdac8ae9fed31463f9413b7a72ce5ecb6e;p=thirdparty%2Fkea.git [#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. --- 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)