Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Variants should work for all backend not only the recipe backend. #42

Closed
tdejager opened this issue Jan 2, 2025 · 1 comment · Fixed by #57
Closed

Variants should work for all backend not only the recipe backend. #42

tdejager opened this issue Jan 2, 2025 · 1 comment · Fixed by #57
Assignees
Labels
enhancement New feature or request

Comments

@tdejager
Copy link
Contributor

tdejager commented Jan 2, 2025

Currently one can create variants in the pixi.toml file when using the build feature:

        [workspace.build-variants]
        python = ["3.10.*", "3.11.*"]

However, this only works with the recipe backend currently. This should be possible for all backends.

A pointer to get started on this is to look at the Output struct used by the backends and use it similar to the recipe backend. This could require a rattler-build change to get to work nicely.

@tdejager tdejager added the enhancement New feature or request label Jan 2, 2025
@baszalmstra
Copy link
Contributor

We can load/create a VariantConfig and call VariantConfig::combinations to get all the combinations of variants. We have to create outputs from that.

@baszalmstra baszalmstra self-assigned this Jan 9, 2025
@baszalmstra baszalmstra linked a pull request Jan 14, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants