Pin pip to 21.3.*

This commit is contained in:
Erik Sundell
2021-10-18 19:56:15 +02:00
parent 1d6ac29145
commit ba25e09b82
2 changed files with 6 additions and 2 deletions

View File

@@ -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

View File

@@ -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