From d8baf5e3dec3ed2abc77ee84d1fac22bb05e15cf Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Sat, 21 Oct 2023 19:42:48 +0300 Subject: [PATCH] Bump setuptools for Pyroma on 3.8-3.9 --- .ci/install.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.ci/install.sh b/.ci/install.sh index 4748feb3d49..cd9035f6a6e 100755 --- a/.ci/install.sh +++ b/.ci/install.sh @@ -46,6 +46,16 @@ if [[ $(uname) != CYGWIN* ]]; then python3 -m pip install pyqt6 fi + # Pyroma uses non-isolated build and fails with old setuptools + if [[ + $GHA_PYTHON_VERSION == pypy3.9 + || $GHA_PYTHON_VERSION == 3.8 + || $GHA_PYTHON_VERSION == 3.9 + ]]; then + # To match pyproject.toml + python3 -m pip install "setuptools>=67.8" + fi + # webp pushd depends && ./install_webp.sh && popd