uv/crates/requirements-txt
Charlie Marsh 145ba0e5ab
Allow relative paths in requirements.txt (#1027)
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.
2024-01-22 14:20:30 +00:00
..
src Allow relative paths in requirements.txt (#1027) 2024-01-22 14:20:30 +00:00
test-data/requirements-txt Show fully-resolved URLs in non-resolution contexts (#689) 2023-12-18 22:10:24 +00:00
Cargo.toml Update dependencies (#794) 2024-01-05 11:40:12 -05:00