6060 - platform : macos-12
6161 python-version : " 3.11"
6262 - platform : macos-14
63- python-version : " system"
63+ python-version : " 3.10"
64+ - platform : macos-14
65+ python-version : " 3.11"
6466 - manylinux : " manylinux2010_x86_64"
6567 platform : ubuntu-latest
6668 python-version : " 3.7"
@@ -124,18 +126,10 @@ jobs:
124126 submodules : recursive
125127 fetch-depth : 0 # https://github.com/pypa/setuptools_scm/issues/480
126128
127- - if : matrix.python-version != 'system'
128- uses : actions/setup-python@v4
129+ 129130 with :
130131 python-version : ${{ matrix.python-version }}
131-
132- - if : matrix.python-version == 'system'
133- run : |
134- sudo ln -s `which python3` /usr/local/bin/python
135- echo PIP_INSTALL_OPTS=--break-system-packages >> $GITHUB_ENV
136-
137- - if : matrix.python-version != 'system'
138- run : python -m pip install --upgrade pip==22.1.2
132+ - run : python -m pip install --upgrade pip==22.1.2
139133
140134 - run : python -m pip install $PIP_INSTALL_OPTS "build<1.1" wheel
141135 - run : cmake --version
@@ -144,7 +138,7 @@ jobs:
144138 python -m build 2>&1 | tee build.log
145139 exit `fgrep -i warning build.log | grep -v "WARNING setuptools_scm" | grep -v "-warnings" | grep -v "All Warnings are enabled" | wc -l`
146140
147- - if : startsWith(matrix.platform, 'macos-') && matrix.python-version == '3.11'
141+ - if : startsWith(matrix.platform, 'macos-12 ') && matrix.python-version == '3.11'
148142 run : |
149143 # workaround for buggy universal2 wheel name with Python 3.11 (contains x86_64 binary only)
150144 for whl in dist/*_universal2.whl; do
@@ -219,7 +213,7 @@ jobs:
219213 runs-on : ubuntu-latest
220214 needs : [build]
221215 steps :
222- - uses : actions/setup-python@v2
216+ - uses : actions/setup-python@v5.0.0
223217 with :
224218 python-version : " 3.11"
225219 - run : pip install twine auditwheel
0 commit comments