mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 10:50:29 +00:00
Store all distributions rather than compatible wheels (#114)
This PR reverts #109 which is actually a performance _regression_ since we need to iterate over a bunch of wheels that we could otherwise entirely ignore.
This commit is contained in:
parent
5b046a8102
commit
0d90256151
3 changed files with 66 additions and 77 deletions
|
|
@ -1,7 +1,6 @@
|
|||
use thiserror::Error;
|
||||
|
||||
use pep508_rs::Requirement;
|
||||
use puffin_package::package_name::PackageName;
|
||||
|
||||
use crate::pubgrub::package::PubGrubPackage;
|
||||
use crate::pubgrub::version::PubGrubVersion;
|
||||
|
|
@ -14,9 +13,6 @@ pub enum ResolveError {
|
|||
#[error("The request stream terminated unexpectedly")]
|
||||
StreamTermination,
|
||||
|
||||
#[error("No platform-compatible distributions found for: {0}")]
|
||||
NoCompatibleDistributions(PackageName),
|
||||
|
||||
#[error(transparent)]
|
||||
Client(#[from] puffin_client::PypiClientError),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue