Skip to content

Commit 752aa98

Browse files
committed
ci: Avoid setuptools 72.2.0 when installing kiwi on PyPy
Due to https://github.com/pypa/setuptools/issues/4571, kiwisolver fails to build on PyPy. Until kiwisolver has PyPy 3.10 wheels (nucleic/kiwi#182), we should avoid the buggy setuptools.
1 parent 86f04cb commit 752aa98

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cibuildwheel.yml

+8
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,14 @@ jobs:
193193
env:
194194
CIBW_BUILD: "pp310-*"
195195
CIBW_ARCHS: ${{ matrix.cibw_archs }}
196+
# Work around for https://github.com/pypa/setuptools/issues/4571
197+
# This can be removed once kiwisolver has wheels for PyPy 3.10
198+
# https://github.com/nucleic/kiwi/pull/182
199+
CIBW_BEFORE_TEST: >-
200+
PIP_CONSTRAINT=pypy-constraint.txt &&
201+
echo "setuptools!=72.2.0" > $PIP_CONSTRAINT &&
202+
pip install kiwisolver &&
203+
unset PIP_CONSTRAINT
196204
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'
197205

198206
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)