Skip to content

pyscipopt: Add version 6.2.1 - #2329

Open
luhenry wants to merge 2 commits into
mainfrom
pyscipopt
Open

luhenry wants to merge 2 commits into
mainfrom
pyscipopt

Conversation

@luhenry

@luhenry luhenry commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Compiles the PySCIPOpt Cython extension against a libscip (SCIP 10.0.2, SoPlex 8.0.2, Ipopt 3.14.19, MUMPS 5.8.2) built from source. Upstream publishes no riscv64 wheel.

Mirrors upstream's build_wheels.yml and scipoptsuite-deploy's linux.bash.

Differs from upstream

  • before-all builds libscip with scipoptsuite-deploy v0.12.0's recipe - its prebuilt zip has no riscv64 build
  • GCG and the component test suites are skipped - PySCIPOpt does not link GCG
  • LAPACK and ThirdParty-Mumps pinned instead of cloned at HEAD - HEAD now fetches MUMPS 5.9.1
  • -march=native dropped from GKlib - GCC rejects it on riscv64
  • libgfortran-static and libstdc++-static added - Rocky 10 packages them separately

Testing

  • same as upstream

License: Wheel bundles libscip with SCIP, SoPlex, Ipopt (EPL-2.0), MUMPS (CeCILL-C), METIS, LAPACK, nauty, dejavu, CppAD (EPL-1.0), AMPL/MP and tinycthread, plus libgfortran (GPL-3.0 with runtime exception); upstream ships no licence text for them, so the build adds it.

Built on cp312; CI pending.

Builds libscip (SCIP 10.0.2 + SoPlex 8.0.2 + Ipopt 3.14.19 + MUMPS 5.8.2)
from source with scipoptsuite-deploy v0.12.0's linux.bash recipe in
place of the prebuilt libscip-linux*.zip upstream downloads, which has
no riscv64 build.
luhenry added a commit that referenced this pull request Sep 25, 2026
@github-actions

github-actions Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://riseproject-dev.github.io/python-wheels/pr-preview/pr-2329/

Built to branch gh-pages at 2026-09-25 17:52 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

All four interpreter builds failed while cythonizing scip.pyx:

  src/pyscipopt/matrix.pxi:236:4: 'axis' redeclared

PySCIPOpt 6.2.1 requires an unpinned "cython >=0.21", so the isolated
build pulls Cython 3.3.0, which rejects the annotated re-assignment of
the `axis` parameter. Backport upstream's fix (scipopt/PySCIPOpt#1248,
ca6631b) as a patch applied before cibuildwheel.

The same log also shows setup.py picking /project/scip/lib64: the
before-all moves the libraries into lib/ but left an empty lib64/
behind, and setup.py prefers lib64 when it exists, so the link would
fail next. Move only lib/, include/ and bin/ into the project, matching
what upstream's libscip-linux.zip contains.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant