mirror of https://github.com/astral-sh/uv
Remove a stopship
This commit is contained in:
parent
411b8901a7
commit
6c19898caa
|
|
@ -227,8 +227,6 @@ impl RegistryClient {
|
|||
/// 3. From a (temp) download of a remote wheel (this is a fallback, the webserver should support range requests)
|
||||
#[instrument(skip(self))]
|
||||
pub async fn wheel_metadata(&self, built_dist: &BuiltDist) -> Result<Metadata21, Error> {
|
||||
// STOPSHIP(charlie): Purge from the cache.
|
||||
|
||||
let metadata = match &built_dist {
|
||||
BuiltDist::Registry(wheel) => match &wheel.file.url {
|
||||
FileLocation::Url(url) => {
|
||||
|
|
|
|||
|
|
@ -108,8 +108,6 @@ impl<'a, Context: BuildContext + Send + Sync> DistributionDatabase<'a, Context>
|
|||
&self,
|
||||
dist: Dist,
|
||||
) -> Result<LocalWheel, DistributionDatabaseError> {
|
||||
// STOPSHIP(charlie): Purge the cache.
|
||||
|
||||
match &dist {
|
||||
Dist::Built(BuiltDist::Registry(wheel)) => {
|
||||
let url = match &wheel.file.url {
|
||||
|
|
@ -255,8 +253,6 @@ impl<'a, Context: BuildContext + Send + Sync> DistributionDatabase<'a, Context>
|
|||
&self,
|
||||
dist: &Dist,
|
||||
) -> Result<(Metadata21, Option<Url>), DistributionDatabaseError> {
|
||||
// STOPSHIP(charlie): Purge the cache.
|
||||
|
||||
match dist {
|
||||
Dist::Built(built_dist) => Ok((self.client.wheel_metadata(built_dist).await?, None)),
|
||||
Dist::Source(source_dist) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue