From e4af8a783a0d5233a0c06da70b8cd15d9bb704b1 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Tue, 22 Oct 2024 21:59:28 -0400 Subject: [PATCH] try to workaround https://github.com/pypa/setuptools/issues/4519 using https://github.com/pypa/setuptools/issues/4519#issuecomment-2254983472 --- .github/workflows/cmake.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 1f48d44b..50abdcfa 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -76,7 +76,9 @@ jobs: brew info gcc@11 ls -l /opt/homebrew/Cellar/gcc@11/*/bin pip3.11 install scipy - + # see https://github.com/pypa/setuptools/issues/4519#issuecomment-2254983472 + echo "setuptools<72" > ${{github.workspace}}/build/python_constraints.txt + echo "PIP_CONSTRAINT=${{github.workspace}}/build/python_constraints.txt" >> $GITHUB_ENV - name: Install prerequisites Ubuntu packages if: ${{ steps.skip_check.outputs.should_skip != 'true' && matrix.os == 'ubuntu-20.04' }}