feat: add conda/outputs and conda/build_v2 backend protocol#4118
Merged
remimimimimi merged 52 commits intoprefix-dev:mainfrom Jul 15, 2025
Merged
feat: add conda/outputs and conda/build_v2 backend protocol#4118remimimimimi merged 52 commits intoprefix-dev:mainfrom
conda/outputs and conda/build_v2 backend protocol#4118remimimimimi merged 52 commits intoprefix-dev:mainfrom
Conversation
Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
…r/build_backend_metadata.rs Co-authored-by: Hofer-Julian <30049909+Hofer-Julian@users.noreply.github.com>
This was referenced Jul 10, 2025
remimimimimi
suggested changes
Jul 14, 2025
Contributor
remimimimimi
left a comment
There was a problem hiding this comment.
Overall good job! I think someone else should review for correctness, as I'm not very familiar with pixi-build inner workings yet.
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.
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