From a0173760f120c6e7bbaa416b0cc9e12a5430426f Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 5 Jun 2024 13:45:42 -0400 Subject: [PATCH] Remove unused PEP 621 error (#4057) --- crates/uv-distribution/src/pyproject.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/crates/uv-distribution/src/pyproject.rs b/crates/uv-distribution/src/pyproject.rs index e961c1aa742d..c18ea6b3edd3 100644 --- a/crates/uv-distribution/src/pyproject.rs +++ b/crates/uv-distribution/src/pyproject.rs @@ -12,25 +12,10 @@ use std::ops::Deref; use glob::Pattern; use pep440_rs::VersionSpecifiers; use serde::{Deserialize, Serialize}; -use thiserror::Error; use url::Url; -use pep508_rs::Pep508Error; -use pypi_types::VerbatimParsedUrl; use uv_normalize::{ExtraName, PackageName}; -#[derive(Debug, Error)] -pub enum Pep621Error { - #[error(transparent)] - Pep508(#[from] Box>), -} - -impl From> for Pep621Error { - fn from(error: Pep508Error) -> Self { - Self::Pep508(Box::new(error)) - } -} - /// A `pyproject.toml` as specified in PEP 517. #[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq)] #[serde(rename_all = "kebab-case")]