mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-28 02:40:11 +00:00
Use UnusableDependencies for URL dependency conflicts (#425)
Extends #424 with support for URL dependency incompatibilities. Requires changes to `miette` to prevent URLs from being word wrapped; accepted upstream in https://github.com/zkat/miette/pull/321
This commit is contained in:
parent
2094680cdd
commit
221751487c
8 changed files with 60 additions and 15 deletions
|
|
@ -41,7 +41,7 @@ pub enum ResolveError {
|
|||
#[error("~= operator requires at least two release segments: {0}")]
|
||||
InvalidTildeEquals(pep440_rs::VersionSpecifier),
|
||||
|
||||
#[error("Conflicting URLs for package `{0}`: {1} and {2}")]
|
||||
#[error("Conflicting URLs for package `{0}`:\n- {1}\n- {2}")]
|
||||
ConflictingUrls(PackageName, String, String),
|
||||
|
||||
#[error("Conflicting versions for `{0}`: {1}")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue