uv/crates/uv-cache/src
Charlie Marsh 1fc6a59707
Remove special-casing for editable requirements (#3869)
## Summary

There are a few behavior changes in here:

- We now enforce `--require-hashes` for editables, like pip. So if you
use `--require-hashes` with an editable requirement, we'll reject it. I
could change this if it seems off.
- We now treat source tree requirements, editable or not (e.g., both `-e
./black` and `./black`) as if `--refresh` is always enabled. This
doesn't mean that we _always_ rebuild them; but if you pass
`--reinstall`, then yes, we always rebuild them. I think this is an
improvement and is close to how editables work today.

Closes #3844.

Closes #2695.
2024-05-28 15:49:34 +00:00
..
archive.rs Store IDs rather than paths in the cache (#2985) 2024-04-10 21:07:51 -04:00
by_timestamp.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
cli.rs fix: remove unused Result in uv-cache (#3875) 2024-05-28 09:19:08 +00:00
lib.rs Remove special-casing for editable requirements (#3869) 2024-05-28 15:49:34 +00:00
removal.rs Make cache clearing robust to directories without read permissions (#3524) 2024-05-11 17:02:25 +00:00
timestamp.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
wheel.rs Remove special-casing for editable requirements (#3869) 2024-05-28 15:49:34 +00:00