uv/crates/uv-resolver/src
Charlie Marsh a241bc79b1
Add priorities for editables (#3133)
## Summary

We weren't setting a priority for editables, so they were being visited
last.

I think there's still a problem whereby we're not aggressive enough in
visiting recursive extras (and, in fact, that's making it really hard to
write a test -- I wrote a test, but the most-reduced case still fails,
and I'd need to add a layer of indirection to make it
fail-on-main-but-pass-on-this-branch), but that problem likely already
existed on main prior to #3087, so I just want to get this quick fix out
now.

Closes https://github.com/astral-sh/uv/issues/3127.

## Test Plan

- `git clone https://github.com/cda-tum/mqt-core.git`
- `cargo run venv`
- `cargo run pip install 'scikit-build-core[pyproject]>=0.8.1'
'setuptools_scm>=7' 'pybind11>=2.12' --resolution=lowest-direct`
- `cargo run pip install --no-build-isolation
'-ve.[test,qiskit,evaluation,coverage]' --resolution=lowest-direct`
2024-04-19 02:04:58 +00:00
..
pubgrub Add a proxy layer for extras (#3100) 2024-04-19 01:04:59 +00:00
resolver Add priorities for editables (#3133) 2024-04-19 02:04:58 +00:00
bare.rs Add support for parsing unnamed URL requirements (#2567) 2024-03-21 03:28:58 +00:00
candidate_selector.rs Refactor candidate selector for batch prefetching (#2832) 2024-04-05 16:51:01 +02:00
dependency_mode.rs Rename to uv (#1302) 2024-02-15 11:19:46 -06:00
dependency_provider.rs Incorporate heuristics to improve package prioritization (#3087) 2024-04-17 14:21:42 +00:00
editables.rs Add support for Metadata 2.2 (#2293) 2024-03-08 16:02:32 +00:00
error.rs Add a proxy layer for extras (#3100) 2024-04-19 01:04:59 +00:00
exclude_newer.rs Add JSON Schema support (#3046) 2024-04-17 17:24:41 +00:00
exclusions.rs Split configuration options out of uv-types (#2924) 2024-04-09 11:35:53 -05:00
flat_index.rs Support unnamed requirements in --require-hashes (#2993) 2024-04-11 11:26:50 -04:00
lib.rs Move ExcludeNewer into its own type (#3041) 2024-04-15 20:24:08 +00:00
manifest.rs Split configuration options out of uv-types (#2924) 2024-04-09 11:35:53 -05:00
options.rs Move ExcludeNewer into its own type (#3041) 2024-04-15 20:24:08 +00:00
pins.rs Consider installed packages during resolution (#2596) 2024-03-28 13:49:17 -05:00
preferences.rs Replace PyPI-internal Hashes representation with flat vector (#2925) 2024-04-09 16:56:16 +00:00
prerelease_mode.rs Add JSON Schema support (#3046) 2024-04-17 17:24:41 +00:00
python_requirement.rs Trim injected python_version marker to (major, minor) (#2395) 2024-03-13 00:11:50 +00:00
redirect.rs Remove redirects from the resolver (#2792) 2024-04-03 02:43:57 +00:00
resolution.rs Hide password in the index printed via --emit-index-annotation (#3112) 2024-04-18 03:59:44 +00:00
resolution_mode.rs Add JSON Schema support (#3046) 2024-04-17 17:24:41 +00:00
version_map.rs Move ExcludeNewer into its own type (#3041) 2024-04-15 20:24:08 +00:00
yanks.rs Use distinct Constraints and Overrides types more widely (#2741) 2024-03-31 13:46:37 -04:00