Use link mode for builds, in uv pip compile and for uv venv seed packages (#3016)

Use the user specified link mode for temporary build venvs, too. It
seems consistent to respect the user's link mode for all installations
we perform
This commit is contained in:
konsti 2024-04-15 10:49:41 +02:00 committed by GitHub
parent aa855ee729
commit eded6c9fae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 43 additions and 1 deletions

View file

@ -73,6 +73,7 @@ pub(crate) async fn build(args: BuildArgs) -> Result<PathBuf> {
setup_py,
&config_settings,
BuildIsolation::Isolated,
install_wheel_rs::linker::LinkMode::default(),
&NoBuild::None,
&NoBinary::None,
);

View file

@ -91,6 +91,7 @@ pub(crate) async fn resolve_cli(args: ResolveCliArgs) -> Result<()> {
SetupPyStrategy::default(),
&config_settings,
BuildIsolation::Isolated,
install_wheel_rs::linker::LinkMode::default(),
&no_build,
&NoBinary::None,
);

View file

@ -115,6 +115,7 @@ pub(crate) async fn resolve_many(args: ResolveManyArgs) -> Result<()> {
setup_py,
&config_settings,
BuildIsolation::Isolated,
install_wheel_rs::linker::LinkMode::default(),
&no_build,
&NoBinary::None,
);