Skip to content

Commit 6166e5b

Browse files
authored
Merge pull request matplotlib#28735 from QuLogic/fix-kiwi-setuptools
ci: Avoid setuptools 72.2.0 when installing kiwi on PyPy
2 parents 86f04cb + a031573 commit 6166e5b

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/cibuildwheel.yml

Lines changed: 8 additions & 0 deletions
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+
export 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)