diff --git a/crates/uv-distribution/src/pyproject.rs b/crates/uv-distribution/src/pyproject.rs index e961c1aa7..c18ea6b3e 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")]