From 4c6d54c79d004b2aa2a59f4e335060e1fcc86c01 Mon Sep 17 00:00:00 2001 From: Erik Sundell Date: Sat, 13 May 2023 23:30:26 +0200 Subject: [PATCH] Upgrade pip in hub env from 21.3 to to 23.1 when bootstrap script runs --- .github/workflows/unit-test.yaml | 2 +- bootstrap/bootstrap.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 338cc9c..4dd1e4e 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -84,7 +84,7 @@ jobs: # Keep pip version pinning in sync with the one in bootstrap.py! # See changelog at https://pip.pypa.io/en/latest/news/#changelog run: | - python3 -m pip install -U "pip==21.3.*" + python3 -m pip install -U "pip==23.1.*" python3 -m pip install -r dev-requirements.txt python3 -m pip install -e . pip freeze diff --git a/bootstrap/bootstrap.py b/bootstrap/bootstrap.py index ef9f602..c43b59f 100644 --- a/bootstrap/bootstrap.py +++ b/bootstrap/bootstrap.py @@ -479,7 +479,7 @@ def main(): # Keep pip version pinning in sync with the one in unit-test.yml! # See changelog at https://pip.pypa.io/en/latest/news/#changelog logger.info("Upgrading pip...") - run_subprocess([hub_env_pip, "install", "--upgrade", "pip==21.3.*"]) + run_subprocess([hub_env_pip, "install", "--upgrade", "pip==23.1.*"]) # Install/upgrade TLJH installer tljh_install_cmd = [hub_env_pip, "install", "--upgrade"]