mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Pin pip to 21.3.*
This commit is contained in:
4
.github/workflows/unit-test.yaml
vendored
4
.github/workflows/unit-test.yaml
vendored
@@ -86,8 +86,10 @@ jobs:
|
|||||||
${{ hashFiles('setup.py', 'dev-requirements.txt', '.github/workflows/unit-test.yaml') }}
|
${{ hashFiles('setup.py', 'dev-requirements.txt', '.github/workflows/unit-test.yaml') }}
|
||||||
|
|
||||||
- name: Install Python dependencies
|
- name: Install Python dependencies
|
||||||
|
# Keep pip version pinning in sync with the one in bootstrap.py!
|
||||||
|
# See changelog at https://pip.pypa.io/en/latest/news/#changelog
|
||||||
run: |
|
run: |
|
||||||
python3 -m pip install -U pip
|
python3 -m pip install -U "pip==21.3.*"
|
||||||
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
|
||||||
|
|||||||
@@ -334,8 +334,10 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
# Upgrade pip
|
# Upgrade pip
|
||||||
|
# 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...')
|
logger.info('Upgrading pip...')
|
||||||
run_subprocess([pip_bin, 'install', '--upgrade', 'pip'])
|
run_subprocess([pip_bin, 'install', '--upgrade', 'pip==21.3.*'])
|
||||||
|
|
||||||
|
|
||||||
# Install/upgrade TLJH installer
|
# Install/upgrade TLJH installer
|
||||||
|
|||||||
Reference in New Issue
Block a user