Skip to content

Commit

Permalink
github: set SYSTEM_VERSION_COMPAT=0
Browse files Browse the repository at this point in the history
This fixes macos builds with older versions of Python.
  • Loading branch information
dlech committed Feb 18, 2023
1 parent ea7f964 commit eaa160c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ jobs:
- name: Create virtual environment
run: pipx run poetry env use '${{ steps.py.outputs.python-path }}'
- name: Install dependencies
# work around https://github.com/python-poetry/poetry/issues/7161
env:
SYSTEM_VERSION_COMPAT: 0
run: pipx run poetry install --only main,test
- name: Test with pytest
run: |
Expand Down

0 comments on commit eaa160c

Please sign in to comment.