uv/crates/uv-python/src
Zanie Blue bfb4bc2aeb
Split preview mode into separate feature flags (#14823)
I think this would give us better hygiene than a global flag. It makes
it easier for users to opt-in to overlapping features, such as Python
upgrades and Python bin installations and to disable warnings for
preview mode without opting in to a bunch of other features. In general,
I want to reduce the burden for putting something under preview.

The `--preview` and `--no-preview` flags are retained as global
overrides. A new `--preview-features` option is added which accepts
comma separated features or can be passed multiple times, e.g.,
`--preview-features add-bounds,pylock`. There's a `UV_PREVIEW_FEATURES`
environment variable for that option (I'm not sure if we should overload
`UV_PREVIEW`, but could be convinced).
2025-07-25 11:01:57 -05:00
..
sysconfig Sync latest Python releases (#14847) 2025-07-23 11:01:09 -05: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 Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
downloads.rs Improve concurrency safety of Python downloads into cache (#14846) 2025-07-23 11:52:39 -05:00
environment.rs Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
implementation.rs Use the canonical `ImplementationName` -> `&str` implementation (#14337) 2025-06-28 09:42:18 -05:00
installation.rs Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
interpreter.rs Validate that discovered interpreters meet the Python preference (#7934) 2025-07-17 17:20:21 -05:00
lib.rs Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
libc.rs make the error message clearer when running distroless containers (#13549) 2025-05-29 10:29:01 -07: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 Split preview mode into separate feature flags (#14823) 2025-07-25 11:01:57 -05:00
microsoft_store.rs Bump MSRV to 1.85 and Edition 2024 (#13516) 2025-05-18 19:38:43 -04:00
platform.rs Add UV_LIBC to allow libc selection in multi-libc environment (#14646) 2025-07-16 08:52:17 -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 Fix optional cfg gates (#14448) 2025-07-03 15:29:03 -05:00
target.rs Add `uv-` prefix to all internal crates (#7853) 2024-10-01 20:15:32 -04:00
version_files.rs Require `--global` for removal of the global Python pin (#14169) 2025-07-17 17:20:21 -05:00
virtualenv.rs Consolidate logic for checking for a virtual environment (#14214) 2025-06-23 15:12:43 +02:00
windows_registry.rs Better error reporting for removing Python versions from the Windows registry (#14722) 2025-07-18 13:26:47 +00:00