diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1c37d1731..95e72349b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,7 +61,7 @@ jobs: - name: Update pip if: ${{ steps.pip-cache.outputs.cache-hit != 'true' && matrix.python-version != '2.7' }} run: | - python -m pip install --upgrade pip + python -m pip install pip==21.1.3 - name: Install project dependencies if: ${{ steps.pip-cache.outputs.cache-hit != 'true' }} run: | @@ -94,7 +94,8 @@ jobs: - name: Update pip if: ${{ matrix.python-version != '2.7' }} run: | - python -m pip install --upgrade pip + # https://github.com/pypa/pip/issues/10201 + python -m pip install pip==21.1.3 # Still need to properly install the dependencies - it will only skip the download part - name: Install project dependencies run: | @@ -132,7 +133,7 @@ jobs: - name: Update pip if: ${{ matrix.python-version != '2.7' }} run: | - python -m pip install --upgrade pip + python -m pip install pip==21.1.3 - name: Install project dependencies run: | pip install -r requirements-dev.txt @@ -180,7 +181,7 @@ jobs: - name: Update pip if: ${{ matrix.python-version != '2.7' }} run: | - python -m pip install --upgrade pip + python -m pip install pip==21.1.3 - name: Install project dependencies run: | pip install -r requirements-dev.txt