Skip to content

feat: add conda/outputs and conda/build_v2 backend protocol#4118

Merged
remimimimimi merged 52 commits intoprefix-dev:mainfrom
baszalmstra:feat/split-protocol-install
Jul 15, 2025
Merged

feat: add conda/outputs and conda/build_v2 backend protocol#4118
remimimimimi merged 52 commits intoprefix-dev:mainfrom
baszalmstra:feat/split-protocol-install

Conversation

@baszalmstra
Copy link
Contributor

@baszalmstra baszalmstra commented Jul 10, 2025

This PR adds support for fetching metadata and building of packages where pixi itself prepares the host and build environments. This provides much more control over the build and host dependencies. Instead of letting the build backends solve the host and build environments, with this PR pixi itself takes care of that. We do this to allow pixi to act as the build orchestrator and to allow host and build environments of packages to also contain source dependencies.

The protocol method is not finalized since we already identified some weaknesses. Im putting this PR up now so we can already start doing initial reviews.

The "old" methods are still implemented. Only when a backend supports the new APIs are they used. So I expect this PR to succeed CI even though no (released) backends supports the new APIs. I think we should only merge the backends supporting the new API after this PR is merged.

This is a continuation of #4056 .

I also verified that this fixes #4100

@baszalmstra baszalmstra marked this pull request as ready for review July 11, 2025 13:13
@baszalmstra baszalmstra added the test:extra_slow Run the extra slow tests label Jul 14, 2025
Copy link
Contributor

@remimimimimi remimimimimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall good job! I think someone else should review for correctness, as I'm not very familiar with pixi-build inner workings yet.

Copy link
Contributor

@remimimimimi remimimimimi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@remimimimimi remimimimimi merged commit 89743b2 into prefix-dev:main Jul 15, 2025
77 of 78 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test:extra_slow Run the extra slow tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pixi install hangs if it can't solve build environment Failed to move build artifacts

3 participants