From b6a5b995085b167c29c55fc5d0df8cf06f977cb8 Mon Sep 17 00:00:00 2001 From: Eduard Valeyev Date: Tue, 22 Oct 2024 21:59:28 -0400 Subject: [PATCH 1/2] 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 f3995ab8..7a322dc6 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' }} From d42c364e6f45e28d42a7bc01b25291f1043279fb Mon Sep 17 00:00:00 2001 From: "Lori A. Burns" Date: Fri, 6 Sep 2024 12:03:05 -0400 Subject: [PATCH 2/2] Update cmake.yml --- .github/workflows/cmake.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cmake.yml b/.github/workflows/cmake.yml index 7a322dc6..28d2df69 100644 --- a/.github/workflows/cmake.yml +++ b/.github/workflows/cmake.yml @@ -65,12 +65,12 @@ jobs: run: | brew install ninja gcc@11 gmp boost eigen bison ccache automake python@3.11 numpy scipy #echo "FC=/usr/local/bin/gfortran" >> $GITHUB_ENV - echo "FC=/opt/homebrew/Cellar/gcc@11/11.4.0/bin/gfortran-11" >> $GITHUB_ENV + echo "FC=/opt/homebrew/Cellar/gcc@11/11.5.0/bin/gfortran-11" >> $GITHUB_ENV echo "EIGEN3_INCLUDE_DIR=/usr/local/include/eigen3" >> $GITHUB_ENV echo "GMP_INCLUDE_DIR=/opt/homebrew/Cellar/gmp/6.3.0/include" >> $GITHUB_ENV echo "GMP_LIBRARY_DIR=/opt/homebrew/Cellar/gmp/6.3.0/lib" >> $GITHUB_ENV - echo "BOOST_INCLUDE_DIR=/opt/homebrew/Cellar/boost/1.85.0/include" >> $GITHUB_ENV - ls -l /opt/homebrew/Cellar/boost/1.85.0/include + echo "BOOST_INCLUDE_DIR=/opt/homebrew/Cellar/boost/1.87.0/include" >> $GITHUB_ENV + ls -l /opt/homebrew/Cellar/boost/1.87.0/include brew info python@3.11 ls -l /opt/homebrew/Cellar/python@3.11/* brew info gcc@11 @@ -136,7 +136,7 @@ jobs: - name: Archive Library Tarball if: ${{ steps.skip_check.outputs.should_skip != 'true' && matrix.build_type == 'Release'}} - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4.4.0 with: if-no-files-found: error name: ${{ runner.os }}-${{ matrix.cxx }} @@ -297,7 +297,7 @@ jobs: with: arch: x64 - - uses: actions/download-artifact@v3 + - uses: actions/download-artifact@v4.1.7 with: name: Linux-g++-10