Skip to content

docs: Fix pixi-build docs about uv in installer selection#5670

Merged
Hofer-Julian merged 1 commit intoprefix-dev:mainfrom
kilian-hu:docs/fix-pixi-build-uv-docs
Mar 13, 2026
Merged

docs: Fix pixi-build docs about uv in installer selection#5670
Hofer-Julian merged 1 commit intoprefix-dev:mainfrom
kilian-hu:docs/fix-pixi-build-uv-docs

Conversation

@kilian-hu
Copy link
Contributor

Description

This PR fixes a small detail in the docs about pixi-build-python installer selection which currently say this about uv

## Installer Selection
The backend automatically detects which Python installer to use:
- **uv**: Used if `uv` is present in any dependency category (build, host, or run)

but according to the code only the build and host dependencies are checked (not the run dependencies)
let installer =
Installer::determine_installer_from_names(model_dependencies.build_and_host_names());

pub fn build_and_host_names(&self) -> impl Iterator<Item = &str> {
self.build
.keys()
.chain(self.host.keys())
.map(|name| name.as_ref() as &str)
.unique()
}

@kilian-hu kilian-hu changed the title Fix pixi-build docs about uv in installer selection Docs: Fix pixi-build docs about uv in installer selection Mar 13, 2026
@kilian-hu kilian-hu changed the title Docs: Fix pixi-build docs about uv in installer selection docs: Fix pixi-build docs about uv in installer selection Mar 13, 2026
Copy link
Contributor

@Hofer-Julian Hofer-Julian left a comment

Choose a reason for hiding this comment

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

Thank you!

@Hofer-Julian Hofer-Julian enabled auto-merge (squash) March 13, 2026 13:44
@Hofer-Julian Hofer-Julian merged commit afed32c into prefix-dev:main Mar 13, 2026
40 of 42 checks passed
@kilian-hu kilian-hu deleted the docs/fix-pixi-build-uv-docs branch March 13, 2026 13:47
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.

2 participants