From 9ad73bb2777b35dff1f9d4aa8f4a9732d2d420c0 Mon Sep 17 00:00:00 2001 From: "riseproject-dev[bot]" <330740410+riseproject-dev[bot]@users.noreply.github.com> Date: Thu, 22 Oct 2026 12:10:41 +0000 Subject: [PATCH 1/2] pyscipopt: Add version 6.3.0 Signed-off-by: riseproject-dev[bot] <330740410+riseproject-dev[bot]@users.noreply.github.com> --- docs/packages/pyscipopt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/packages/pyscipopt.yaml b/docs/packages/pyscipopt.yaml index dd26779b6d9..b3375a83f3b 100644 --- a/docs/packages/pyscipopt.yaml +++ b/docs/packages/pyscipopt.yaml @@ -21,3 +21,4 @@ versions: gpl-sources: filename: gpl-sources.tar description: gcc +- version: 6.3.0 From 794db5371998e2d86c3d9f5554eccbb456953568 Mon Sep 17 00:00:00 2001 From: Ludovic Henry Date: Fri, 23 Oct 2026 12:01:18 +0800 Subject: [PATCH 2/2] pyscipopt: apply patches only for versions that have them --- .github/workflows/build-pyscipopt.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-pyscipopt.yml b/.github/workflows/build-pyscipopt.yml index 88e21838ea5..3f44c7e34ff 100644 --- a/.github/workflows/build-pyscipopt.yml +++ b/.github/workflows/build-pyscipopt.yml @@ -83,8 +83,14 @@ jobs: path: python-wheels persist-credentials: false + # Only some versions need patching (6.3.0 already carries the Cython 3.3 fix + # that 6.2.1 backported), so a missing directory is not an error. - name: Patch PySCIPOpt source - run: git apply python-wheels/patches/pyscipopt/${{ env.PYSCIPOPT_VERSION }}/*.patch + run: | + patches="$PWD/python-wheels/patches/pyscipopt/${PYSCIPOPT_VERSION}" + if [ -d "$patches" ]; then + git apply -v "$patches"/*.patch + fi - name: Build wheels uses: pypa/cibuildwheel@1828c10ab37f080699c7b81cea34097c684a7074 # v4.2.0