From a031573878e709e9cfc6324c8f8f85766b599102 Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Fri, 16 Aug 2024 21:39:14 -0400 Subject: [PATCH] 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 (https://github.com/nucleic/kiwi/pull/182), we should avoid the buggy setuptools. --- .github/workflows/cibuildwheel.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index e258ea38c482..0db8c53b3a79 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -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 pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy