Merge pull request #892 from consideRatio/pr/upgrade-pip

Upgrade pip in hub env from 21.3 to to 23.1 when bootstrap script runs
This commit is contained in:
Erik Sundell
2023-05-15 11:54:41 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -84,7 +84,7 @@ jobs:
# Keep pip version pinning in sync with the one in bootstrap.py! # Keep pip version pinning in sync with the one in bootstrap.py!
# See changelog at https://pip.pypa.io/en/latest/news/#changelog # See changelog at https://pip.pypa.io/en/latest/news/#changelog
run: | 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 -r dev-requirements.txt
python3 -m pip install -e . python3 -m pip install -e .
pip freeze pip freeze

View File

@@ -479,7 +479,7 @@ def main():
# Keep pip version pinning in sync with the one in unit-test.yml! # Keep pip version pinning in sync with the one in unit-test.yml!
# See changelog at https://pip.pypa.io/en/latest/news/#changelog # See changelog at https://pip.pypa.io/en/latest/news/#changelog
logger.info("Upgrading pip...") 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 # Install/upgrade TLJH installer
tljh_install_cmd = [hub_env_pip, "install", "--upgrade"] tljh_install_cmd = [hub_env_pip, "install", "--upgrade"]