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

feat: add pixi-build behind preview feature #2514

Merged

Conversation

tdejager
Copy link
Contributor

@tdejager tdejager commented Nov 19, 2024

Description

This PR gates the pixi-build feature behind the recently introduced preview features. This requires the pixi-build preview feature to be enabled and this is checked on validation. We've decided on this name with @ruben-arts, but I'm fine changing it if we dont like it.

I thought adding in validation would be the way to go, curious to know if this would miss anything,

Tests

A couple of automated test have been added to the manifest so that we can check if we properly error when either the [build] or a source dependency is used in any feature/platform combination.

cc @nichmor

Copy link
Contributor

@ruben-arts ruben-arts left a comment

Choose a reason for hiding this comment

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

Cool that we can already start using it in an example!

crates/pixi_manifest/src/validation.rs Outdated Show resolved Hide resolved
@baszalmstra baszalmstra enabled auto-merge (squash) November 22, 2024 10:15
@baszalmstra baszalmstra merged commit 0e1a25e into prefix-dev:feature/pixi-build Nov 22, 2024
18 checks passed
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.

3 participants