uv/crates/uv-python/src
Charlie Marsh 50d7b9c38a
Pin .python-version in uv init (#6869)
## Summary

I'm not convinced that the behavior is correct as-implemented. When the
user passes a `--python >=3.8` or we discover a `requires-python` from
the workspace, we're currently writing that request out to
`.python-version`. I would probably rather that we write the resolved
patch version?

Closes https://github.com/astral-sh/uv/issues/6821.
2024-09-03 19:43:50 -04:00
..
discovery.rs Fix typos in docs, error messages and comments (#6910) 2024-09-01 11:37:43 +00:00
downloads.inc Sync latest Python releases (#6784) 2024-08-29 03:41:07 +00:00
downloads.inc.mustache Change "toolchain" to "python" (#4735) 2024-07-03 07:44:29 -05:00
downloads.rs Support file:// URLs for UV_PYTHON_INSTALL_MIRROR (#6950) 2024-09-03 01:20:01 +00:00
environment.rs Avoid deadlocks when multiple uv processes lock resources (#6790) 2024-08-29 11:16:14 -05:00
implementation.rs Use max rather than min to sort managed Pythons (#5205) 2024-07-19 12:35:17 +00:00
installation.rs Take unowned request in PythonInstallation::find_or_download (#6868) 2024-08-30 13:49:17 +00:00
interpreter.rs Use separate types to represent raw vs. resolver markers (#6646) 2024-08-26 18:00:21 +00:00
lib.rs Discover Microsoft Store Pythons (#6807) 2024-08-29 20:56:41 +00:00
libc.rs Detect musl and error for musl pbs builds (#6643) 2024-08-27 00:06:53 +00:00
managed.rs Avoid deadlocks when multiple uv processes lock resources (#6790) 2024-08-29 11:16:14 -05:00
microsoft_store.rs Discover Microsoft Store Pythons (#6807) 2024-08-29 20:56:41 +00:00
platform.rs Detect musl and error for musl pbs builds (#6643) 2024-08-27 00:06:53 +00: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 Fix typos in docs, error messages and comments (#6910) 2024-09-01 11:37:43 +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 Pin .python-version in uv init (#6869) 2024-09-03 19:43:50 -04: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