Skip to content

Commit

Permalink
ci: upgrade pip for 3.11 on macOS
Browse files Browse the repository at this point in the history
Applying same workaround as in
python-poetry/poetry#6586.
  • Loading branch information
mkniewallner committed Oct 11, 2022
1 parent c6a17a6 commit 4bb4266
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ jobs:
if: steps.cache.outputs.cache-hit == 'true'
run: timeout 10s poetry run pip --version || rm -rf .venv

# XXX: https://github.com/pypa/pip/issues/11352 causes random failures -- remove once fixed in a release.
- name: Upgrade pip on 3.11 for macOS
if: ${{ matrix.python-version == '3.11-dev' && matrix.os == 'macOS' }}
run: poetry run pip install git+https://github.com/pypa/pip.git@f8a25921e5c443b07483017b0ffdeb08b9ba2fdf

- name: Install dependencies
run: poetry install

Expand Down

0 comments on commit 4bb4266

Please sign in to comment.