Fix macOS builds by switching pyscipopt from pip to conda-forge#1688
Merged
lkstrp merged 1 commit intoPyPSA:masterfrom May 14, 2025
Merged
Fix macOS builds by switching pyscipopt from pip to conda-forge#1688lkstrp merged 1 commit intoPyPSA:masterfrom
lkstrp merged 1 commit intoPyPSA:masterfrom
Conversation
lkstrp
approved these changes
May 14, 2025
Member
lkstrp
left a comment
There was a problem hiding this comment.
As already discussed, that's fine. It's unlikely that anyone needs to run Eur on Linux ARM
Thanks for the fixes! @stefan-oet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes # (if applicable).
Changes proposed in this Pull Request
The new lock files approach introduced in #1660 caused macOS builds to fail because installing
pyscipoptvia pip does not include scip.The proposed solution is to fetch
pyscipoptfrom conda-forge instead of pip. This package properly bundles scip providing a complete and working environment (see updated locked files included in this PR)The downside is that we have to drop support for ARM linux as
pyscipoptdoes not currently provide builds via conda-forge or pip for this platform. Users will either need to install it from source or get if via a package manager when available (e.g. Arch Linux ARM package)@lkstrp
Checklist
envs/environment.yaml.config/config.default.yaml.doc/configtables/*.csv.doc/data_sources.rst.doc/release_notes.rstis added.