uv/docs/configuration
konsti b33a19689c
Optional managed Python archive download cache (#12175)
Part of #11834

Currently, all Python installation are a streaming download-and-extract.
With this PR, we add the `UV_PYTHON_CACHE_DIR` variable. When set, the
installation is split into downloading the interpreter into
`UV_PYTHON_CACHE_DIR` and extracting it there from a second step. If the
archive is already present in `UV_PYTHON_CACHE_DIR`, we skip the
download.

The feature can be used to speed up tests and CI. Locally for me, `cargo
test -p uv -- python_install` goes from 43s to 7s (1,7s in release mode)
when setting `UV_PYTHON_CACHE_DIR`. It can also be used for offline
installation of Python interpreter, by copying the archives to a
directory in the offline machine, while the path rewriting is still
performed on the target machine on installation.
2025-04-28 12:09:09 +02:00
..
authentication.md Use consistent commas around i.e. and e.g. (#12157) 2025-03-13 23:42:10 +00:00
environment.md Optional managed Python archive download cache (#12175) 2025-04-28 12:09:09 +02:00
files.md Use [[index]] API in configuration example (#9065) 2024-11-12 14:43:54 -05:00
index.md Add support for named and explicit indexes (#7481) 2024-10-15 18:24:23 -04:00
indexes.md Add qualification to authenticate always documentation (#12498) 2025-04-02 19:31:18 +02:00
installer.md Supplement missing separators for UV_INSTALL_DIR in Windows. (#9507) 2024-12-19 09:53:49 -06:00