Skip to content

Commit

Permalink
CI: fix a regression due to changes in pip
Browse files Browse the repository at this point in the history
  • Loading branch information
valgur committed Aug 14, 2024
1 parent 2faf92f commit 24941b1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ jobs:
with:
python-version: '3.12'

- name: Allow system-wide pip installs on macOS
if: runner.os == 'macOS'
run: echo 'break-system-packages = true' > ~/.pip/pip.conf

- name: Install cibuildwheel
run: python -m pip install --upgrade cibuildwheel

Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ jobs:
with:
python-version: '3.12'

- name: Allow system-wide pip installs on macOS
if: runner.os == 'macOS'
run: echo 'break-system-packages = true' > ~/.pip/pip.conf

- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down Expand Up @@ -66,6 +70,10 @@ jobs:
with:
python-version: '3.12'

- name: Allow system-wide pip installs on macOS
if: runner.os == 'macOS'
run: echo 'break-system-packages = true' > ~/.pip/pip.conf

- name: Download test data
run: |
python -m pip install pytest requests
Expand Down

0 comments on commit 24941b1

Please sign in to comment.