mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
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:
2
.github/workflows/unit-test.yaml
vendored
2
.github/workflows/unit-test.yaml
vendored
@@ -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
|
||||||
|
|||||||
@@ -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"]
|
||||||
|
|||||||
Reference in New Issue
Block a user