Commit 7203a62
committed
CI: drop defaults channel from conda installs to fix mixed-channel solve
The macOS conda env solve has been intermittently failing with
LibMambaUnsatisfiableError because conda-env-ci.txt's `cmake=3.31.2`
needs newer transitive deps from conda-forge (libzlib>=1.3.1,
rhash>=1.4.5) than the miniconda base env's anaconda-defaults pulls in
(zlib=1.2.13, rhash=1.4.3). The Voxtral metal e2e ffmpeg install hit
the same class of conflict.
A previous attempt added `--strict-channel-priority`, but libmamba on
macOS emits `Problem type not implemented SOLVER_RULE_STRICT_REPO_PRIORITY`
and falls into a deterministic failure on the rhash conflict — that
flag is effectively unimplemented for this code path. `conda config
--set channel_priority strict` would land in the same libmamba code
path and additionally leak `~/.condarc` state across the persistent
self-hosted macOS runners.
`--override-channels` is implemented at the conda CLI layer (filters
the channel list before the solver runs) rather than as a solver rule,
so it works with libmamba. Dropping defaults is safe for these call
sites: every package they install (cmake, ninja, libuv, llvm-openmp,
pkg-config, ffmpeg, libstdcxx-ng, openblas) is first-class on conda-
forge, and downstream pip-managed deps are unaffected. Patch all five
mixed-channel `conda install` sites in the repo for consistency.
Authored with Claude Code.1 parent e84a418 commit 7203a62
4 files changed
Lines changed: 12 additions & 5 deletions
File tree
- .ci
- docker/common
- scripts
- .github/workflows
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
258 | 258 | | |
259 | 259 | | |
260 | 260 | | |
261 | | - | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
433 | 433 | | |
434 | 434 | | |
435 | 435 | | |
436 | | - | |
| 436 | + | |
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
| |||
0 commit comments