uv/crates/pypi-types
Charlie Marsh d8f1de6134
Use separate path types for directories and files (#4285)
## Summary

This is what I consider to be the "real" fix for #8072. We now treat
directory and path URLs as separate `ParsedUrl` types and
`RequirementSource` types. This removes a lot of `.is_dir()` forking
within the `ParsedUrl::Path` arms and makes some states impossible
(e.g., you can't have a `.whl` path that is editable). It _also_ fixes
the `direct_url.json` for direct URLs that refer to files. Previously,
we wrote out to these as if they were installed as directories, which is
just wrong.
2024-06-12 15:59:21 -04:00
..
src Use separate path types for directories and files (#4285) 2024-06-12 15:59:21 -04:00
Cargo.toml Move PEP 440 and PEP 508 parsing out of TOML deserialization (#4176) 2024-06-10 00:09:39 +00:00