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:
Charlie Marsh 2023-10-17 17:09:31 -04:00 committed by GitHub
parent 5b046a8102
commit 0d90256151
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 66 additions and 77 deletions

View file

@ -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),