Fix macOS CI failure: replace mamba with pip in build-linux job - #40
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix failing GitHub Actions job build-linux (macos-latest, 3.11)
Fix macOS CI failure: replace mamba with pip in build-linux job
Jul 15, 2026
xumi1993
approved these changes
Jul 17, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the CI workflow to avoid conda/mamba in the build-linux matrix job (which also runs on macos-latest) by switching to actions/setup-python and installing dependencies via pip, addressing macOS failures caused by libmamba codesigning.
Changes:
- Replaced
conda-incubator/setup-miniconda+mamba installwithactions/setup-python@v5+pip installin thebuild-linuxjob. - Kept the Ubuntu-only
testjob unchanged.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+30
to
31
| pip install numpy scipy h5py pandas xarray hatchling tqdm | ||
| pip install . |
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.
libmambafails to codesignlibffion macOS GitHub Actions runners (Could not codesign executable: Broken pipe), causing allbuild-linux (macos-latest, *)matrix jobs to fail.Changes
.github/workflows/build-test-conda.yml: In thebuild-linuxjob, replaceconda-incubator/setup-miniconda+mamba installwithactions/setup-python@v5+pip installnumpy scipy h5py pandas xarray hatchling tqdm) are available on PyPI with pre-built wheels for both Linux and macOS — conda is unnecessary heretestjob (Ubuntu-only) is unchangedBefore:
After: