uv/crates/uv-python/src
Charlie Marsh a7850d2a1c
Use separate types to represent raw vs. resolver markers (#6646)
## Summary

This is similar to https://github.com/astral-sh/uv/pull/6171 but more
expansive... _Anywhere_ that we test requirements for platform
compatibility, we _need_ to respect the resolver-friendly markers. In
fixing the motivating issue (#6621), I also realized that we had a bunch
of bugs here around `pip install` with `--python-platform` and
`--python-version`, because we always performed our `satisfy` and `Plan`
operations on the interpreter's markers, not the adjusted markers!

Closes https://github.com/astral-sh/uv/issues/6621.
2024-08-26 18:00:21 +00:00
..
discovery.rs Add support for configuring `python-downloads` with `UV_PYTHON_DOWNLOADS` (#6436) 2024-08-22 23:19:03 +00:00
downloads.inc Update Pythons to include Python 3.12.5 (#6087) 2024-08-14 15:18:01 +00:00
downloads.inc.mustache Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
downloads.rs Colocate Python install cache with destination directory (#6043) 2024-08-12 16:15:30 -04:00
environment.rs feat(venv): add relocatable flag (#5515) 2024-07-29 00:10:11 +00:00
implementation.rs Use max rather than min to sort managed Pythons (#5205) 2024-07-19 12:35:17 +00:00
installation.rs Colocate Python install cache with destination directory (#6043) 2024-08-12 16:15:30 -04:00
interpreter.rs Use separate types to represent raw vs. resolver markers (#6646) 2024-08-26 18:00:21 +00:00
lib.rs Test for .venv symlink (#6597) 2024-08-26 11:44:19 -05:00
managed.rs Colocate Python install cache with destination directory (#6043) 2024-08-12 16:15:30 -04:00
platform.rs Deduplicate when install or uninstall python (#4841) 2024-07-05 22:05:17 -05:00
pointer_size.rs Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
prefix.rs Initialize all `--prefix` subdirectories (#4895) 2024-07-08 14:15:25 +00:00
py_launcher.rs Upgrade to Rust 1.80.0 (#5472) 2024-07-27 01:49:47 +00:00
python_version.rs Use separate types to represent raw vs. resolver markers (#6646) 2024-08-26 18:00:21 +00:00
target.rs Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
version_files.rs Fix priority for `.python-versions` files in `uv python install` (#6382) 2024-08-21 22:17:14 +00:00
virtualenv.rs feat(venv): add relocatable flag (#5515) 2024-07-29 00:10:11 +00:00
which.rs Search for all `python3.x` in PATH (#5148) 2024-07-18 17:00:01 +02:00