This commit is contained in:
konstin 2025-06-11 22:40:17 +02:00
parent d93d850b41
commit dcefc5486b
2 changed files with 9 additions and 9 deletions

View file

@ -39,14 +39,14 @@ impl Locks {
(wheel_a, &wheel_b) (wheel_a, &wheel_b)
}; };
warn_user!( warn_user!(
"The module {} exists in two packages! \ "The module `{}` is provided by more than one package, \
This leads to a race condition and likely to a broken installation. \ which causes an install race condition and can result in a broken module. \
Consider removing either {} ({}) or {} ({}).", Consider removing your dependency on either `{}` (v{}) or `{}` (v{}).",
module.simplified_display(), module.simplified_display().green(),
wheel_a.name, wheel_a.name.cyan(),
wheel_a, wheel_a.version.cyan(),
wheel_b.name, wheel_b.name.cyan(),
wheel_b, wheel_b.version.cyan(),
); );
} }
} }

View file

@ -11409,7 +11409,7 @@ fn overlapping_packages_warning() -> Result<()> {
----- stderr ----- ----- stderr -----
Resolved 2 packages in [TIME] Resolved 2 packages in [TIME]
Prepared 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] 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) + 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) + built-by-uv==0.1.0 (from file://[TEMP_DIR]/built_by_uv-0.1.0-py3-none-any.whl)