Merge "prepare-zanata-client: upgrade pip in venv"

This commit is contained in:
Zuul 2022-02-09 00:10:50 +00:00 committed by Gerrit Code Review
commit 3f186b0b5b

View File

@ -102,6 +102,10 @@ function finish {
function setup_venv {
if [ -d ~/.venv ] ; then
source ~/.venv/bin/activate
# Ensure this venv is running the latest pip; if this has come
# from the system pip we might have a bionic-era pip that
# can't build modern things.
pip install --upgrade pip
else
# Ensure ~/.local/bin is in the path
export PATH=~/.local/bin:$PATH