Repository navigation
CI: Use micromamba solver for AppVeyor x64 - #1962
Merged
franzpoeschel merged 5 commits intoOct 29, 2026
Merged
Conversation
The x64 job times out while the preinstalled conda's classic solver backtracks on the full conda-forge graph. The x86 job avoids this by resolving against the `defaults` channel, which is much smaller. Do the same for x64: bootstrap conda 23.10 and the libmamba solver from `defaults` (pinned, so the old solver does not search the whole graph), then install the conda-forge packages with libmamba. This also drops the separate CMake solve, which the old solver previously handled but which now adds another chance to backtrack.
added 4 commits
October 28, 2026 10:47
conda 23.10.0 from defaults depends on conda-libmamba-solver >=23.11.0, so pinning 23.9.3 made the bootstrap unsatisfiable. Pin the newest defaults build, 23.12.0, which also matches conda's menuinst constraint.
The conda_ompi_all job mixes conda-forge with defaults. Its libmamba solve intermittently takes more than 1.5 hours on that graph, at which point the hosted runner shuts down during Setup conda. All dependencies are available on conda-forge, which conda.yml already declares, and a conda-forge-only solve of the same environment completes in seconds. Drop the extra defaults channel to make the setup reliable.
The x64 job previously bootstrapped conda from `defaults` in order to get a fast libmamba solver. Avoid `defaults` entirely for licensing reasons: download the standalone micromamba binary and create the environment from conda-forge only. The x86 job keeps using the preinstalled Miniconda and `defaults`, since that is the only channel still providing Python 3.10 for Win32.
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.
Follow-up to #1947, Appveyor broke again