mirror of
https://github.com/astral-sh/uv.git
synced 2025-08-04 10:58:28 +00:00
Remove path-absolutize
dependency (#6589)
## Summary This is now in the standard library.
This commit is contained in:
parent
7fa265a11b
commit
0dc74f619c
10 changed files with 13 additions and 66 deletions
|
@ -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")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue