mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-25 09:28:17 +00:00
## Summary This PR falls back to writing an unnamed requirement if it appears to be a relative URL. pip is way more flexible when providing an unnamed requirement than when providing a PEP 508 requirement. For example, _only_ this works: ``` black @ file:///Users/crmarsh/workspace/uv/scripts/packages/black_editable ``` Any other form will fail. Meanwhile, _all_ of these work: ``` file:///Users/crmarsh/workspace/uv/scripts/packages/black_editable scripts/packages/black_editable ./scripts/packages/black_editable file:./scripts/packages/black_editable file:scripts/packages/black_editable ``` Closes https://github.com/astral-sh/uv/issues/3180. |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||