Re-allow HTTP schemes for Git dependencies (#11687)

## Summary

Closes https://github.com/astral-sh/uv/issues/11683.
This commit is contained in:
Charlie Marsh 2025-02-20 21:14:31 -08:00 committed by GitHub
parent 6bef1a32b1
commit 4bab1cd002
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(),