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 neersighted committed Oct 11, 2022
1 parent 928e478 commit 17118a0
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 17118a0

Please sign in to comment.