uv/crates/uv-python/src
Charlie Marsh 72be5ffb25
Always reinstall local source trees passed to uv pip install (#12176)
## Summary

This ended up being more involved than expected. The gist is that we
setup all the packages we want to reinstall upfront (they're passed in
on the command-line); but at that point, we don't have names for all the
packages that the user has specified. (Consider, e.g., `uv pip install
.` -- we don't have a name for `.`, so we can't add it to the list of
`Reinstall` packages.)

Now, `Reinstall` also accepts paths, so we can augment `Reinstall` based
on the user-provided paths.

Closes #12038.
2025-03-17 21:12:21 +00:00
..
sysconfig Patch pkg-config files to be relocatable (#11291) 2025-02-07 17:03:55 -06:00
cpuinfo.rs Fix hard and soft float libc detection for managed Python distributions on ARM (#8498) 2024-10-29 23:46:21 +00:00
discovery.rs Compare major-minor specifiers when filtering interpreters (#11952) 2025-03-04 23:29:39 +00:00
downloads.inc Add support for dynamic musl Python distributions on x86-64 Linux (#12121) 2025-03-11 18:14:10 -05:00
downloads.inc.mustache Allow download of Python distribution variants with newer CPU instruction sets (#9781) 2024-12-10 14:26:45 -06:00
downloads.rs Add support for dynamic musl Python distributions on x86-64 Linux (#12121) 2025-03-11 18:14:10 -05:00
environment.rs Respect include-system-site-packages in layered environments (#11873) 2025-02-28 22:22:37 -05:00
implementation.rs Prefer Python executable names that match the request over default names (#9066) 2024-11-13 10:00:23 -06:00
installation.rs Allow fallback to Python download on non-critical discovery errors (#10908) 2025-01-23 22:37:02 +00:00
interpreter.rs Always reinstall local source trees passed to uv pip install (#12176) 2025-03-17 21:12:21 +00:00
lib.rs uv-python tests: Use #!/bin/sh instead of #!/bin/bash (#11292) 2025-02-07 09:42:33 -06:00
libc.rs Consistently write log messages with capitalized first word (#11111) 2025-01-30 18:56:46 +00:00
macos_dylib.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
managed.rs Allow use of x86-64 Python on ARM Windows (#11625) 2025-02-19 12:01:46 -06:00
microsoft_store.rs Install and remove managed Python to and from the Windows Registry (PEP 514) (#10634) 2025-01-23 14:13:41 +00:00
platform.rs Add support for dynamic musl Python distributions on x86-64 Linux (#12121) 2025-03-11 18:14:10 -05:00
pointer_size.rs Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
prefix.rs Add uv- prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
python_version.rs Edition 2024 prep: Escape r#gen and remove redundant ref (#11922) 2025-03-03 11:13:56 +00:00
target.rs Add uv- prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
version_files.rs Add support for global uv python pin (#12115) 2025-03-13 13:48:37 +01:00
virtualenv.rs Fix include_system_side_packages typo (#11967) 2025-03-05 00:49:35 +00:00
windows_registry.rs Discover registry PEP 514 Pythons cross 32/64-bit (#11801) 2025-03-03 14:46:00 +00:00