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 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