2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[#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.
This commit is contained in:
Andrei Pavel
2024-06-03 20:16:45 +03:00
parent 51d17f49a7
commit 0bfe6acdac

View File

@@ -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)