uv/crates/uv-resolver/src
John Mumm 9fb19cd43c
Check for mismatched package and distribution names on resolver thread (#13088)
This PR restores the `bogus_redirect` test that was
non-deterministically hanging (reverting #13076).

Mismatched package and distribution names were causing uv to hang prior
to #12917 (which added the `bogus_redirect` test). But with that fix, uv
was only checking for mismatched package names on the main thread (and
not the resolver thread). This allowed for a race condition which would
prevent uv from ever doing the check, triggering the original hang
condition. This PR adds the check to the resolver thread to prevent this
race condition.
2025-04-24 15:18:01 +02:00
..
lock Omit PEP 751 version for source trees (#13030) 2025-04-21 22:58:39 +00:00
pubgrub Bump MSRV to 1.84 (#12670) 2025-04-04 11:49:26 -04:00
resolution Move lowered requirement source type out of `uv-pypi-types` (#12356) 2025-03-20 21:16:12 -04:00
resolver Check for mismatched package and distribution names on resolver thread (#13088) 2025-04-24 15:18:01 +02:00
candidate_selector.rs Bump MSRV to 1.84 (#12670) 2025-04-04 11:49:26 -04:00
dependency_mode.rs Store resolution options in lockfile (#5264) 2024-07-22 08:28:22 -04:00
dependency_provider.rs All (virtual) packages must have a priority (#10853) 2025-01-23 16:09:47 +00:00
error.rs Check dist name to handle bogus redirect (#12917) 2025-04-22 15:36:27 +00:00
exclude_newer.rs Edition 2024 prep: Escape `r#gen` and remove redundant ref (#11922) 2025-03-03 11:13:56 +00:00
exclusions.rs Always reinstall local source trees passed to `uv pip install` (#12176) 2025-03-17 21:12:21 +00:00
flat_index.rs Support `--find-links`-style "flat" indexes in `[[tool.uv.index]]` (#12407) 2025-03-25 21:14:44 -04:00
fork_indexes.rs Pass around index with associated metadata (#12406) 2025-03-24 10:15:49 -04:00
fork_strategy.rs Introduce a `--fork-strategy` preference mode (#9868) 2024-12-13 16:05:07 -05:00
fork_urls.rs uv: use ResolverEnvironment instead of ResolverMarkers 2024-11-04 11:09:06 -05:00
graph_ops.rs Support conflict markers in `uv export` (#11643) 2025-02-20 12:19:46 -08:00
lib.rs Add PEP 751 support to `uv pip compile` (#13019) 2025-04-21 22:48:54 +00:00
manifest.rs Move lowered requirement source type out of `uv-pypi-types` (#12356) 2025-03-20 21:16:12 -04:00
marker.rs Move `LowerBound` and `UpperBound` structs in `uv-pep440` (#11950) 2025-03-04 12:35:16 -05:00
options.rs Allow users to mark platforms as "required" for wheel coverage (#10067) 2025-02-14 15:11:18 -05:00
pins.rs Improve file pinning comments (#10387) 2025-01-08 11:42:25 +00:00
preferences.rs Add PEP 751 support to `uv pip compile` (#13019) 2025-04-21 22:48:54 +00:00
prerelease.rs Move lowered requirement source type out of `uv-pypi-types` (#12356) 2025-03-20 21:16:12 -04:00
python_requirement.rs Avoid returning `Some` for narrowing no-ops (#10705) 2025-01-17 16:41:17 +00:00
redirect.rs Use a stable directory for (local) script virtual environments (#11347) 2025-02-12 00:45:26 +00:00
requires_python.rs Move `LowerBound` and `UpperBound` structs in `uv-pep440` (#11950) 2025-03-04 12:35:16 -05:00
resolution_mode.rs Respect fork markers in `--resolution-mode=lowest-direct` (#8839) 2024-11-05 21:09:38 +00:00
universal_marker.rs Avoid using owned `String` for package name constructors (#11768) 2025-02-24 23:06:15 -08:00
version_map.rs Support `--find-links`-style "flat" indexes in `[[tool.uv.index]]` (#12407) 2025-03-25 21:14:44 -04:00
yanks.rs Move lowered requirement source type out of `uv-pypi-types` (#12356) 2025-03-20 21:16:12 -04:00