diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a620693..43aec36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fa0dfdf..b77092b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -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 @@ -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