Skip to content

CI: Use setup-micromamba on Linux - #9299

Merged
Esteban82 merged 2 commits into
masterfrom
ci-pin-ubuntu-24.04
Nov 16, 2026
Merged

Esteban82 merged 2 commits into
masterfrom
ci-pin-ubuntu-24.04

Conversation

@Esteban82

Copy link
Copy Markdown
Member

ubuntu-latest now resolves to ubuntu-26.04, which no longer ships Miniconda. ci/install-dependencies-linux.sh then fails with "conda: command not found", so the Tests, Build and Docs workflows break before building GMT. Pin those jobs to ubuntu-24.04 until the CI is migrated to setup-miniconda and validated on 26.04.

Example: https://github.com/GenericMappingTools/gmt/actions/runs/43873490621/job/133320866286

ubuntu-latest now resolves to ubuntu-26.04, which no longer ships
Miniconda. ci/install-dependencies-linux.sh then fails with
"conda: command not found", so the Tests, Build and Docs workflows
break before building GMT. Pin those jobs to ubuntu-24.04 until the
CI is migrated to setup-miniconda and validated on 26.04.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Esteban82
Esteban82 requested review from a team, joa-quim and seisman November 16, 2026 14:50
@Esteban82 Esteban82 added the maintenance Boring but important stuff for the core devs label Nov 16, 2026
@seisman

seisman commented Nov 16, 2026

Copy link
Copy Markdown
Member

These workflows already use:

uses: mamba-org/setup-micromamba@v3.2.1

but it's only enabled for macOS CI.

Instead of downgrading to ubuntu-24.04, I think we can just enable the step for both macOS and Linux.

Revert the ubuntu-24.04 pin and enable the existing setup-micromamba
step for Linux as well as macOS, as suggested in review. The Linux
install script now creates a micromamba environment the same way the
macOS one does (see #9137), and adds pip for the docs job (see #9145),
so it no longer depends on the Miniconda that ubuntu-26.04 dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Esteban82

Copy link
Copy Markdown
Member Author

Ok, I will do it.

@Esteban82 Esteban82 changed the title Pin Linux CI runners to ubuntu-24.04 CI: Use setup-micromamba on Linux Nov 16, 2026
@Esteban82
Esteban82 merged commit c121c87 into master Nov 16, 2026
17 of 19 checks passed
@Esteban82
Esteban82 deleted the ci-pin-ubuntu-24.04 branch November 16, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance Boring but important stuff for the core devs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants