mirror of
https://github.com/astral-sh/uv.git
synced 2025-09-26 12:09:12 +00:00
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:
parent
aa855ee729
commit
eded6c9fae
13 changed files with 43 additions and 1 deletions
|
@ -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,
|
||||
);
|
||||
|
|
|
@ -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,
|
||||
);
|
||||
|
|
|
@ -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,
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue