Skip to content

Commit

Permalink
Exporting SYSTEM_VERSION_COMPAT
Browse files Browse the repository at this point in the history
The env var will help installing macos 11 tagged wheels
  • Loading branch information
Samfun75 authored and arvidn committed Feb 9, 2022
1 parent 7aadd92 commit baf2d19
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,9 @@ jobs:
set PYTHON_INTERPRETER=python
tox -e py
- name: build/install (MacOS)
if: runner.os == 'macOS'
run: |
# Install to Homebrew's python site-packages. no need for --user and --prefix
cd bindings/python
python3 setup.py build_ext install --install-lib $(brew --prefix)/lib/python3.9/site-packages
- name: tests
if: runner.os != 'Windows'
run: |
# Exporting SYSTEM_VERSION_COMPAT=0 helps pip allow install macos 11 tagged wheels. Ref https://github.com/pypa/packaging/issues/497
export SYSTEM_VERSION_COMPAT=0
tox -e py

0 comments on commit baf2d19

Please sign in to comment.