mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-23 04:55:28 +00:00
Revert "Cache downloaded wheel when range requests aren't supported" (#6470)
## Summary
This reverts commit 7d92915f3d.
I thought this would be a net performance improvement, but we've now had
multiple reports that this made locking _extremely_ slow. I also tested
this today with a very large codebase against a registry that does not
support range requests, and the number of downloads was sort of wild to
watch. Reverting the reduced resolution time by over 50%.
Closes #6104.
This commit is contained in:
parent
7502a963e1
commit
c743705dfb
5 changed files with 155 additions and 63 deletions
|
|
@ -173,6 +173,10 @@ pub enum ErrorKind {
|
|||
#[source] Box<pypi_types::MetadataError>,
|
||||
),
|
||||
|
||||
/// The metadata file was not found in the wheel.
|
||||
#[error("Metadata file `{0}` was not found in {1}")]
|
||||
MetadataNotFound(WheelFilename, String),
|
||||
|
||||
/// An error that happened while making a request or in a reqwest middleware.
|
||||
#[error(transparent)]
|
||||
WrappedReqwestError(#[from] WrappedReqwestError),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue