uv/crates/uv-client
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
..
src Cache downloaded wheel when range requests aren't supported (#5089) 2024-07-16 09:21:47 -04:00
tests Enable workspace lint configuration in remaining crates (#4329) 2024-06-18 03:02:28 +00:00
Cargo.toml Enable workspace lint configuration in remaining crates (#4329) 2024-06-18 03:02:28 +00:00
README.md Rename to uv (#1302) 2024-02-15 11:19:46 -06:00

pypi-client

A general-use client for interacting with PyPI.

Loosely modeled after Orogene's oro-client.