mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-23 12:56:47 +00:00
Add support for local directories with --index-url (#4226)
## Summary Closes #4078.
This commit is contained in:
parent
f296ef08d6
commit
656fc427b9
10 changed files with 219 additions and 31 deletions
|
|
@ -128,15 +128,15 @@ impl From<ErrorKind> for Error {
|
|||
|
||||
#[derive(Debug, thiserror::Error)]
|
||||
pub enum ErrorKind {
|
||||
/// An invalid URL was provided.
|
||||
#[error(transparent)]
|
||||
UrlParseError(#[from] url::ParseError),
|
||||
UrlParse(#[from] url::ParseError),
|
||||
|
||||
/// A base URL could not be joined with a possibly relative URL.
|
||||
#[error(transparent)]
|
||||
JoinRelativeError(#[from] pypi_types::JoinRelativeError),
|
||||
JoinRelativeUrl(#[from] pypi_types::JoinRelativeError),
|
||||
|
||||
#[error("Expected a file URL, but received: {0}")]
|
||||
NonFileUrl(Url),
|
||||
|
||||
/// Dist-info error
|
||||
#[error(transparent)]
|
||||
DistInfo(#[from] install_wheel_rs::Error),
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue