Skip to content

Commit b2b84b1

Browse files
committed
Show resolution diagnostics after pip install
1 parent 2ac562b commit b2b84b1

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

crates/uv/src/commands/pip_install.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,17 @@ async fn resolve(
595595
.dimmed()
596596
)?;
597597

598+
// Notify the user of any diagnostics.
599+
for diagnostic in resolution.diagnostics() {
600+
writeln!(
601+
printer.stderr(),
602+
"{}{} {}",
603+
"warning".yellow().bold(),
604+
":".bold(),
605+
diagnostic.message().bold()
606+
)?;
607+
}
608+
598609
Ok(resolution)
599610
}
600611

0 commit comments

Comments
 (0)