uv/crates/pypi-types/src
Zanie Blue b5dd8b7de2
Track yanked versions as incompatibilities (#1290)
Moves yanked version filtering from `VersionMap::from_metadata` to the
resolver and tracks it as a PubGrub unavailable incompatibility so
yanked versions are reflected in error messages.

e.g. before
```
╰─▶ Because only albatross<=0.1.0 is available and you require albatross>0.1.0, 
       we can conclude that the requirements are unsatisfiable.
```

after

```
╰─▶ Because only the following versions of albatross are available:
            albatross<=0.1.0
            albatross==1.0.0
      and albatross==1.0.0 is unusable because it was yanked, we can conclude that albatross>0.1.0 cannot be used.
      And because you require albatross>0.1.0, we can conclude that the requirements are unsatisfiable.
```
2024-02-12 22:01:17 -06:00
..
base_url.rs add initial rkyv support (#1135) 2024-01-28 12:14:59 -05:00
direct_url.rs Show URLs and version together for installed, URL-based dependencies (#690) 2023-12-18 22:21:37 +00:00
lenient_requirement.rs Filter out files with invalid requires python specifiers (#775) 2024-01-09 02:46:27 +00:00
lib.rs Add support for relative URLs in simple metadata responses (#721) 2023-12-27 08:53:21 -05:00
metadata.rs Use `parse_headers` rather than parsing body (#1090) 2024-01-25 09:41:21 +01:00
simple_json.rs Track yanked versions as incompatibilities (#1290) 2024-02-12 22:01:17 -06:00