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 authored and DavidVujic committed Oct 16, 2022
1 parent 4d669e2 commit a0b3dcd
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 @@ -62,6 +62,11 @@ jobs:
# Using `timeout` is a safeguard against the Poetry command hanging for some reason.
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 a0b3dcd

Please sign in to comment.