mirror of
https://github.com/astral-sh/uv.git
synced 2025-12-15 22:14:06 +00:00
I'm working off of @konstin's commit here to implement arbitrary unsat test cases for the resolver. The entirety of the resolver's io are two functions: Get the version map for a package (PEP 440 version -> distribution) and get the metadata for a distribution. A new trait `ResolverProvider` abstracts these two away and allows replacing the real network requests e.g. with stored responses (https://github.com/pradyunsg/pip-resolver-benchmarks/blob/main/scenarios/pyrax_198.json). --------- Co-authored-by: konsti <konstin@mailbox.org> |
||
|---|---|---|
| .. | ||
| src | ||
| tests | ||
| Cargo.toml | ||