Skip to content

Conversation

baszalmstra
Copy link
Contributor

This PR updates the pixi build command to use the command dispatcher and with it the latest protocol version.

Copy link
Contributor

@tdejager tdejager left a comment

Choose a reason for hiding this comment

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

Great work :)

@baszalmstra baszalmstra requested a review from remimimimimi July 18, 2025 11:22
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.

Awesome!

@baszalmstra baszalmstra enabled auto-merge (squash) July 18, 2025 11:33
@baszalmstra baszalmstra added the test:extra_slow Run the extra slow tests label Jul 18, 2025
@baszalmstra baszalmstra merged commit 1a4df75 into prefix-dev:main Jul 18, 2025
56 of 77 checks passed
let file_name = built_source
.output_file
.file_name()
.expect("the build backend did not return a file name");
Copy link
Contributor

Choose a reason for hiding this comment

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

should it be an error? or it is something that we expect to never really happen?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, if this happened, then the backend returned an empty string.

Outputs { outputs: Vec<CondaOutput> },
}

impl CachedCondaMetadata {
Copy link
Contributor

Choose a reason for hiding this comment

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

I was thinking, does it make sense to make SourceMetadataCache::entry a trait that return CachedCondaMetadata?

and we implement it for SourceMetadataCache?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

What is the point of adding a trait though? Its not reused.


// Canonicalize the output directory and package path.
let output_dir = dunce::canonicalize(&args.output_dir)
.expect("failed to canonicalize output directory which must now exist");
Copy link
Contributor

Choose a reason for hiding this comment

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

same here - should we make it a nice error?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No this cannot happen due to user error. If at this point the output directory cannot be canonicalized it means that the build didnt actually put a package there which is a developer error if thats the case.

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.

4 participants