mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 10:50:29 +00:00
Avoid re-creating directories in async unzip (#1155)
This PR extends the optimizations from #1154 to other unzip paths.
This commit is contained in:
parent
3d10f344f3
commit
a25a1f2958
3 changed files with 19 additions and 9 deletions
|
|
@ -751,6 +751,7 @@ impl<'a, T: BuildContext> SourceDistCachedBuilder<'a, T> {
|
|||
}
|
||||
|
||||
// Download the source distribution to a temporary file.
|
||||
// TODO(charlie): Unzip as we download, as with wheels.
|
||||
let span =
|
||||
info_span!("download_source_dist", filename = filename, source_dist = %source_dist);
|
||||
let download_dir = self.download_source_dist_url(response, filename).await?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue