Remove unused thiserror variants (#11713)

## Summary

We get to remove an entire dependency too.
This commit is contained in:
Charlie Marsh 2025-02-22 12:12:22 -10:00 committed by GitHub
parent 0b3d91c73a
commit 359a3cbe44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 8 additions and 75 deletions

View file

@ -66,8 +66,6 @@ pub enum Error {
InvalidPyprojectTomlSyntax(#[from] toml_edit::TomlError),
#[error("`pyproject.toml` does not match the required schema. When the `[project]` table is present, `project.name` must be present and non-empty.")]
InvalidPyprojectTomlSchema(#[from] toml_edit::de::Error),
#[error("Editable installs with setup.py legacy builds are unsupported, please specify a build backend in pyproject.toml")]
EditableSetupPy,
#[error("Failed to resolve requirements from {0}")]
RequirementsResolve(&'static str, #[source] AnyErrorBuild),
#[error("Failed to install requirements from {0}")]
@ -100,7 +98,6 @@ impl IsBuildBackendError for Error {
| Self::InvalidSourceDist(_)
| Self::InvalidPyprojectTomlSyntax(_)
| Self::InvalidPyprojectTomlSchema(_)
| Self::EditableSetupPy
| Self::RequirementsResolve(_, _)
| Self::RequirementsInstall(_, _)
| Self::Virtualenv(_)