Re-allow HTTP schemes for Git dependencies (#11687)
## Summary Closes https://github.com/astral-sh/uv/issues/11683.
This commit is contained in:
@@ -54,7 +54,7 @@ impl GitUrl {
|
||||
precise: Option<GitOid>,
|
||||
) -> Result<Self, GitUrlParseError> {
|
||||
match repository.scheme() {
|
||||
"https" | "ssh" | "file" => {}
|
||||
"http" | "https" | "ssh" | "file" => {}
|
||||
unsupported => {
|
||||
return Err(GitUrlParseError::UnsupportedGitScheme(
|
||||
unsupported.to_string(),
|
||||
|
||||
Reference in New Issue
Block a user