mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Review
This commit is contained in:
parent
d93d850b41
commit
dcefc5486b
2 changed files with 9 additions and 9 deletions
|
@ -39,14 +39,14 @@ impl Locks {
|
|||
(wheel_a, &wheel_b)
|
||||
};
|
||||
warn_user!(
|
||||
"The module {} exists in two packages! \
|
||||
This leads to a race condition and likely to a broken installation. \
|
||||
Consider removing either {} ({}) or {} ({}).",
|
||||
module.simplified_display(),
|
||||
wheel_a.name,
|
||||
wheel_a,
|
||||
wheel_b.name,
|
||||
wheel_b,
|
||||
"The module `{}` is provided by more than one package, \
|
||||
which causes an install race condition and can result in a broken module. \
|
||||
Consider removing your dependency on either `{}` (v{}) or `{}` (v{}).",
|
||||
module.simplified_display().green(),
|
||||
wheel_a.name.cyan(),
|
||||
wheel_a.version.cyan(),
|
||||
wheel_b.name.cyan(),
|
||||
wheel_b.version.cyan(),
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11409,7 +11409,7 @@ fn overlapping_packages_warning() -> Result<()> {
|
|||
----- stderr -----
|
||||
Resolved 2 packages in [TIME]
|
||||
Prepared 2 packages in [TIME]
|
||||
warning: The module built_by_uv exists in two packages! This leads to a race condition and likely to a broken installation. Consider removing either built-by-uv (built_by_uv-0.1.0-py3-none-any.whl) or also-built-by-uv (also_built_by_uv-0.1.0-py3-none-any.whl).
|
||||
warning: The module `built_by_uv` is provided by more than one package, which causes an install race condition and can result in a broken module. Consider removing your dependency on either `built-by-uv` (v0.1.0) or `also-built-by-uv` (v0.1.0).
|
||||
Installed 2 packages in [TIME]
|
||||
+ also-built-by-uv==0.1.0 (from file://[TEMP_DIR]/also_built_by_uv-0.1.0-py3-none-any.whl)
|
||||
+ built-by-uv==0.1.0 (from file://[TEMP_DIR]/built_by_uv-0.1.0-py3-none-any.whl)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue