Skip to content

Commit

Permalink
ci: Avoid setuptools 72.2.0 when installing kiwi on PyPy
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
QuLogic committed Aug 17, 2024
1 parent 86f04cb commit a031573
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/cibuildwheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,14 @@ jobs:
env:
CIBW_BUILD: "pp310-*"
CIBW_ARCHS: ${{ matrix.cibw_archs }}
# Work around for https://github.com/pypa/setuptools/issues/4571
# This can be removed once kiwisolver has wheels for PyPy 3.10
# https://github.com/nucleic/kiwi/pull/182
CIBW_BEFORE_TEST: >-
export PIP_CONSTRAINT=pypy-constraint.txt &&
echo "setuptools!=72.2.0" > $PIP_CONSTRAINT &&
pip install kiwisolver &&
unset PIP_CONSTRAINT
if: matrix.cibw_archs != 'aarch64' && matrix.os != 'windows-latest'

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit a031573

Please sign in to comment.