summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorAndrei Pavel <andrei@isc.org>2024-06-03 19:16:45 +0200
committerAndrei Pavel <andrei@isc.org>2024-06-04 10:50:05 +0200
commit0bfe6acdac8ae9fed31463f9413b7a72ce5ecb6e (patch)
tree6cb7456af9cb69604f22ff9d34d03f8f52cb5161 /hammer.py
parent[#3350] clean up some old revision logic in hammer (diff)
downloadkea-0bfe6acdac8ae9fed31463f9413b7a72ce5ecb6e.tar.xz
kea-0bfe6acdac8ae9fed31463f9413b7a72ce5ecb6e.zip
[#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.
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py2
1 files changed, 2 insertions, 0 deletions
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)