Skip to content

Add pyscipopt#5021

Draft
mkoeppe wants to merge 1 commit intoemscripten-forge:mainfrom
passagemath:pyscipopt
Draft

Add pyscipopt#5021
mkoeppe wants to merge 1 commit intoemscripten-forge:mainfrom
passagemath:pyscipopt

Conversation

@mkoeppe
Copy link
Copy Markdown
Contributor

@mkoeppe mkoeppe commented Mar 5, 2026

Template A: Checklist for adding a package

Pre-submission Checks

  • Package requires building for emscripten-wasm32 platform (not a noarch package), in other words, the package requires compilation.

Recipe Structure

Added recipes/recipes_emscripten/[package-name]/recipe.yaml with proper structure:

  • context section with version (and optionally name)
  • package section with name and version using Jinja2 templates
  • source section with:
    • Source URL is valid and points to archive file (.tar.gz, .tar.bz2, .tar.xz, .tgz, or .zip)
    • Source URL contains ${{ version }} template for version updates
    • SHA256 hash is correct (verified with curl -sL <url> | sha256sum)
    • Patches (if any) are included in [package-name]/patches/ directory
  • build section with appropriate script/method
    • Python packages: ${PYTHON} -m pip install . ${PIP_ARGS}
    • R packages: $R CMD INSTALL $R_ARGS .
    • C++ packages: Uses emcmake/emmake or emconfigure/emmake
    • Rust packages: Uses rust-nightly and maturin or appropriate Rust build tool
    • Build number is 0
    • If the script is longer than 3 lines, a build.sh is included
  • requirements section (build, host, run as needed)
  • tests section
    • Python packages: test_import_[package].py file created and referenced
    • C++ packages: Test executable or package_contents test
    • R packages: Package contents test
  • about section with license, homepage, summary

PR Formatting

  • PR title follows format: Add [package-name] or Update [package-name] to [version]
  • PR description includes:
    • Version being added/updated
    • Any special build considerations or patches applied

Package Details

  • Package Name: pyscipopt
  • Version: 6.1.0

Build Notes

@mkoeppe

This comment was marked as resolved.

@mkoeppe
Copy link
Copy Markdown
Contributor Author

mkoeppe commented Mar 5, 2026

 │ loading #1 shared libraries for package pyscipopt
 │ bad export type for '_ZN6soplex8infinityE': undefined: This can potentially be ignored (some shared library has not yet been loaded but will eventually be)
 │ bad export type for '__gmp_version': undefined: This can potentially be ignored (some shared library has not yet been loaded but will eventually be)
 │ bad export type for '_ZTVN6soplex9UserTimerE': undefined: This can potentially be ignored (some shared library has not yet been loaded but will eventually be)
 │ bad export type for '_ZTVN6soplex14WallclockTimerE': undefined: This can potentially be ignored (some shared library has not yet been loaded but will eventually be)
 │ error in bootstrapping process
 │ Error: error loading shared library /lib/python3.13/site-packages/pyscipopt/scip.cpython-313-wasm32-emscripten.so from package pyscipopt: 'Could not load dynamic lib: /lib/python3.13/site-packages/pyscipopt/scip.cpython-313-wasm32-emscripten.so
 │ Error: Dynamic linking error: cannot resolve symbol _ZN6soplex10getGitHashEv
 │     at Object.loadDynlibsFromPackage [as _loadDynlibsFromPackage] (http://127.0.0.1:43577/pyjs_runtime_browser.js:7:14401)

@Joao-Dionisio @mmghannam

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