Skip to content

ci: fix conda-build under setup-miniconda v4#208

Merged
henryiii merged 1 commit into
masterfrom
fix-conda-ci
Jul 20, 2026
Merged

ci: fix conda-build under setup-miniconda v4#208
henryiii merged 1 commit into
masterfrom
fix-conda-ci

Conversation

@henryiii

Copy link
Copy Markdown
Collaborator

🤖 AI text below 🤖

The Conda workflow has been red on master since a June dependabot bump. setup-miniconda v4 changed its default activate-environment from base to a separate test env, so conda install conda-build landed in test instead of base. Modern conda-build is a conda plugin that only registers with the conda in its own env, so base's conda stopped recognizing the build subcommand and the recipe build failed with invalid choice: 'build'.

This installs conda-build into base, builds for the matrix Python so the artifact ABI matches the test env, and installs the result with --use-local. Also drops the unmaintained conda-verify.

A longer-term move to rattler-build is still worth doing; this just gets CI green.

setup-miniconda v4 activates a separate "test" env by default, so
conda-build landed there instead of base. Since conda-build is a conda
plugin, base's conda no longer saw the 'build' subcommand and the recipe
build failed.

Install conda-build into base, build for the matrix Python so the
artifact ABI matches the test env, and install with --use-local. Drop
the unmaintained conda-verify.

Assisted-by: ClaudeCode:claude-opus-4.8
@henryiii
henryiii merged commit 89feb06 into master Jul 20, 2026
23 of 24 checks passed
@henryiii
henryiii deleted the fix-conda-ci branch July 20, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant