From a58b76b9929fa041ccd77be9669ac50151692a34 Mon Sep 17 00:00:00 2001 From: Charles Engelke Date: Wed, 3 May 2023 10:12:44 -0700 Subject: [PATCH] fix: upgrade pip to latest version if available --- .kokoro/tests/run_tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.kokoro/tests/run_tests.sh b/.kokoro/tests/run_tests.sh index 176e49f1b92..09301a4da95 100755 --- a/.kokoro/tests/run_tests.sh +++ b/.kokoro/tests/run_tests.sh @@ -87,6 +87,9 @@ cd "${PROJECT_ROOT}" # add user's pip binary path to PATH export PATH="${HOME}/.local/bin:${PATH}" +# upgrade pip when needed +pip install --upgrade pip + # install nox for testing pip install --user -q nox