Allow dependency metadata entries for direct URL requirements (#7846)

## Summary

This is part of making
https://github.com/astral-sh/uv/issues/7299#issuecomment-2385286341
better. You can now use `tool.uv.dependency-metadata` for direct URL
requirements. Unfortunately, you _must_ include a version, since we need
one to perform resolution.
This commit is contained in:
Charlie Marsh
2024-10-22 22:01:23 -04:00
committed by GitHub
parent d6d6de8769
commit cc734ea2b6
10 changed files with 341 additions and 28 deletions
+1 -1
View File
@@ -590,7 +590,7 @@ pub(crate) fn fetch(
}
}
/// Attempts to use `git` CLI installed on the system to fetch a repository,.
/// Attempts to use `git` CLI installed on the system to fetch a repository.
fn fetch_with_cli(
repo: &mut GitRepository,
url: &str,