Remove a stopship

This commit is contained in:
Charlie Marsh 2024-01-17 10:14:11 -05:00
parent 411b8901a7
commit 6c19898caa
2 changed files with 0 additions and 6 deletions

View File

@ -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) /// 3. From a (temp) download of a remote wheel (this is a fallback, the webserver should support range requests)
#[instrument(skip(self))] #[instrument(skip(self))]
pub async fn wheel_metadata(&self, built_dist: &BuiltDist) -> Result<Metadata21, Error> { pub async fn wheel_metadata(&self, built_dist: &BuiltDist) -> Result<Metadata21, Error> {
// STOPSHIP(charlie): Purge from the cache.
let metadata = match &built_dist { let metadata = match &built_dist {
BuiltDist::Registry(wheel) => match &wheel.file.url { BuiltDist::Registry(wheel) => match &wheel.file.url {
FileLocation::Url(url) => { FileLocation::Url(url) => {

View File

@ -108,8 +108,6 @@ impl<'a, Context: BuildContext + Send + Sync> DistributionDatabase<'a, Context>
&self, &self,
dist: Dist, dist: Dist,
) -> Result<LocalWheel, DistributionDatabaseError> { ) -> Result<LocalWheel, DistributionDatabaseError> {
// STOPSHIP(charlie): Purge the cache.
match &dist { match &dist {
Dist::Built(BuiltDist::Registry(wheel)) => { Dist::Built(BuiltDist::Registry(wheel)) => {
let url = match &wheel.file.url { let url = match &wheel.file.url {
@ -255,8 +253,6 @@ impl<'a, Context: BuildContext + Send + Sync> DistributionDatabase<'a, Context>
&self, &self,
dist: &Dist, dist: &Dist,
) -> Result<(Metadata21, Option<Url>), DistributionDatabaseError> { ) -> Result<(Metadata21, Option<Url>), DistributionDatabaseError> {
// STOPSHIP(charlie): Purge the cache.
match dist { match dist {
Dist::Built(built_dist) => Ok((self.client.wheel_metadata(built_dist).await?, None)), Dist::Built(built_dist) => Ok((self.client.wheel_metadata(built_dist).await?, None)),
Dist::Source(source_dist) => { Dist::Source(source_dist) => {