uv/crates/uv-distribution/src
Charlie Marsh 2ff3b380b1
Cache downloaded wheel when range requests aren't supported (#5089)
## Summary

When range requests aren't supported, we fall back to streaming the
wheel, stopping as soon as we hit a `METADATA` file. This is a small
optimization, but the downside is that we don't get to cache the
resulting wheel...

We don't know whether `METADATA` will be at the beginning or end of the
wheel, but it _seems_ like a better tradeoff to download and cache the
entire wheel?

Closes: https://github.com/astral-sh/uv/issues/5088.

Sort of a revert of: https://github.com/astral-sh/uv/pull/1792.
2024-07-16 09:21:47 -04:00
..
index Rename "built-wheels" cache bucket to "source-dists" (#5077) 2024-07-15 14:41:03 -05:00
metadata Use lockfile to prefill resolver index (#4495) 2024-07-12 18:49:28 -04:00
source Rename "built-wheels" cache bucket to "source-dists" (#5077) 2024-07-15 14:41:03 -05:00
archive.rs Store IDs rather than paths in the cache (#2985) 2024-04-10 21:07:51 -04:00
distribution_database.rs Cache downloaded wheel when range requests aren't supported (#5089) 2024-07-16 09:21:47 -04:00
download.rs Add hash-checking support to install and sync (#2945) 2024-04-10 19:09:03 +00:00
error.rs Show when we retried requests (#4725) 2024-07-02 19:04:11 +02:00
lib.rs Sync all packages in a virtual workspace (#4636) 2024-06-29 12:43:59 -04:00
locks.rs Remove unnecessary uses of DashMap and Arc (#3413) 2024-05-06 22:30:43 -04:00
pyproject.rs Generate API reference for options documentation (#5072) 2024-07-15 19:48:40 +00:00
pyproject_mut.rs Rework reformatting in PyProjectTomlMut to respect original indentation (#5075) 2024-07-15 19:13:22 -04:00
reporter.rs Concurrent progress bars (#3252) 2024-05-27 01:21:07 +00:00
workspace.rs Use correct pyproject.toml path in warnings (#5069) 2024-07-15 11:15:58 +00:00