From 0e450f5f10be62703c034f93a2992a526ef836c6 Mon Sep 17 00:00:00 2001 From: Peter Heywood Date: Mon, 21 Oct 2024 12:56:10 +0100 Subject: [PATCH 1/2] CI: install setuptools and wheel for py>=3.12 in Manylinux2024 --- .github/workflows/Manylinux2014.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Manylinux2014.yml b/.github/workflows/Manylinux2014.yml index 352e9f302..7cddd963c 100644 --- a/.github/workflows/Manylinux2014.yml +++ b/.github/workflows/Manylinux2014.yml @@ -132,6 +132,11 @@ jobs: make make install + - name: Install setuptools and wheel + if: ${{ env.PYTHON >= 3.12 }} + run: | + python${{env.PYTHON}} -m pip install setuptools wheel + - name: Add custom problem matchers for annotations run: echo "::add-matcher::.github/problem-matchers.json" From 51193627f038c71501020a4b386bc80112893cc8 Mon Sep 17 00:00:00 2001 From: Peter Heywood Date: Mon, 21 Oct 2024 13:49:45 +0100 Subject: [PATCH 2/2] CI: install setuptools and wheel for py>=3.12 in DraftRelease --- .github/workflows/Draft-Release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/Draft-Release.yml b/.github/workflows/Draft-Release.yml index e10f5f8e1..f920d8bde 100644 --- a/.github/workflows/Draft-Release.yml +++ b/.github/workflows/Draft-Release.yml @@ -426,6 +426,11 @@ jobs: make make install + - name: Install setuptools and wheel + if: ${{ env.PYTHON >= 3.12 }} + run: | + python${{env.PYTHON}} -m pip install setuptools wheel + # This patches a bug where ManyLinux doesn't generate buildnumber as git dir is owned by diff user - name: Enable git safe-directory run: git config --global --add safe.directory $GITHUB_WORKSPACE