Remove path-absolutize dependency (#6589)

## Summary

This is now in the standard library.
This commit is contained in:
Charlie Marsh 2024-08-25 08:01:07 -04:00 committed by GitHub
parent 7fa265a11b
commit 0dc74f619c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 13 additions and 66 deletions

View file

@ -9,7 +9,6 @@ use distribution_filename::DistExtension;
use pep440_rs::VersionSpecifiers;
use pep508_rs::{VerbatimUrl, VersionOrUrl};
use pypi_types::{ParsedUrlError, Requirement, RequirementSource, VerbatimParsedUrl};
use uv_fs::Simplified;
use uv_git::GitReference;
use uv_normalize::PackageName;
use uv_warnings::warn_user_once;
@ -250,8 +249,6 @@ pub enum LoweringError {
InvalidVerbatimUrl(#[from] pep508_rs::VerbatimUrlError),
#[error("Can't combine URLs from both `project.dependencies` and `tool.uv.sources`")]
ConflictingUrls,
#[error("Could not normalize path: `{}`", _0.user_display())]
Absolutize(PathBuf, #[source] io::Error),
#[error("Fragments are not allowed in URLs: `{0}`")]
ForbiddenFragment(Url),
#[error("`workspace = false` is not yet supported")]