mirror of
https://github.com/astral-sh/uv.git
synced 2025-11-02 04:48:18 +00:00
This PR attempts to fix a common footgun in `requirements.txt` files. Previously, to provide a file, you had to use `package_name @ file:///Users/crmarsh/...` -- in other words, an absolute path. Now, these requirements follow the exact same rules as editables, so you can do: ``` package_name @ ./file.zip ``` And similar. The way the parsing is setup, this is intentionally _not_ supported when reading metadata -- only when parsing `requirements.txt` directly. Closes #984. |
||
|---|---|---|
| .. | ||
| src | ||
| test-data/requirements-txt | ||
| Cargo.toml | ||