From 93a872096dd33cf490d7bb804c2abd3f036bcb6a Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Thu, 26 Sep 2024 12:46:05 -0400 Subject: [PATCH] Add Download reporting message --- crates/uv/src/lib.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/uv/src/lib.rs b/crates/uv/src/lib.rs index 014088d8eae9..e7eb4d58be64 100644 --- a/crates/uv/src/lib.rs +++ b/crates/uv/src/lib.rs @@ -79,6 +79,12 @@ async fn resolve_script_target( .prefix(file_stem) .suffix(".py") .tempfile()?; + + eprintln!( + "Downloading remote script to {}", + temp_file.path().display().cyan() + ); + let response = reqwest::get(script_url).await?; let contents = response.bytes().await?; write_atomic(&temp_file, &contents).await?;