Skip to content

Commit

Permalink
Fix builds on macOS systems
Browse files Browse the repository at this point in the history
  • Loading branch information
s0600204 committed May 25, 2024
1 parent 5fc7d98 commit 016e1de
Showing 1 changed file with 19 additions and 11 deletions.
30 changes: 19 additions & 11 deletions .github/workflows/lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@ jobs:
fail-fast: false
matrix:
sys:
- os: windows-latest
shell: msys2 {0}
distutils: stdlib
- os: ubuntu-latest
shell: bash
distutils: local
#~ - os: windows-latest
#~ shell: msys2 {0}
#~ distutils: stdlib
#~ - os: ubuntu-latest
#~ shell: bash
#~ distutils: local
- os: macos-latest
shell: bash
distutils: local
Expand All @@ -61,11 +61,11 @@ jobs:
- 1.3.0
- 1.2.2

exclude:
# Poetry bug #8338 (ImportError: atomic_open from requests.utils)
- sys:
os: ubuntu-latest
poetVers: 1.6.0
#~ exclude:
#~ # Poetry bug #8338 (ImportError: atomic_open from requests.utils)
#~ - sys:
#~ os: ubuntu-latest
#~ poetVers: 1.6.0

steps:

Expand Down Expand Up @@ -100,6 +100,14 @@ jobs:
run: |
sudo apt-get install libasound2-dev
# On macOS systems, pip is maintained "externally" via homebrew, and so refuses to update
# itself or install anything directly. As this is a CI system, we can safely ignore this.
# Not us
- name: Configure pip
if: ${{ startsWith(matrix.sys.os, 'macos') }}
run: |
python3 -m pip config --user set global.break-system-packages true
- name: Update pip
run: |
python3 -m pip install -U pip
Expand Down

0 comments on commit 016e1de

Please sign in to comment.