]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3350] upgrade pip in hammer for rhel
authorAndrei Pavel <andrei@isc.org>
Mon, 3 Jun 2024 17:16:45 +0000 (20:16 +0300)
committerAndrei Pavel <andrei@isc.org>
Tue, 4 Jun 2024 08:50:05 +0000 (11:50 +0300)
Fixes this on RHEL 8: You are using pip version 9.0.3, however version 24.0 is available.

hammer.py

index e08b08e0a71a30f9eec0385ca5b0ada1cb49d990..036c941efd6b40487f41b0574c4f7f9b98a944ce 100755 (executable)
--- 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)