ci: install pip in the conda test env so CI can bootstrap - #49
Merged
Conversation
The `test` conda env created by conda-incubator/setup-miniconda no longer has pip preinstalled (conda-forge/base-env drift since the last green run in March 2026). The "install package" step then fails immediately on `python -m pip install --upgrade pip` with: /usr/share/miniconda/envs/test/bin/python: No module named pip This breaks CI repo-wide, independent of any code change, blocking every open PR. Add `pip` to the existing `conda install` step so it is guaranteed to be present in the env before pip is invoked. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
shimwell
approved these changes
Jul 10, 2026
Member
|
many thanks |
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.
Problem
CI (
.github/workflows/ci_with_install.yml, job "CI") is currently broken on every PR and onmain, independent of any code change. The last successful run was ~March 2026.The workflow creates a
testconda env viaconda-incubator/setup-miniconda@v3, then runs:This fails with:
The env conda creates no longer has
pippreinstalled (conda-forge/base-env drift over the gap since the last green run — this isn't something a PR's code changes can fix). See a recent failing run: run 28944887256, step "install package".Fix
Minimal, single-line change: add
pipto the existingconda installstep so it's guaranteed present before the pip-based install step runs.This doesn't touch anything else in the workflow, matrix, or test config.
Why this unblocks other PRs
Since this failure is repo-wide and unrelated to code content, it's currently blocking every open PR from getting a passing CI check, including #48. This PR only touches the CI workflow so it can be reviewed and merged independently of any code PR.