Latest Results
feat(cli): read `--python-platform` from `UV_PYTHON_PLATFORM`
Adds `UV_PYTHON_PLATFORM` as the environment-variable counterpart of
`--python-platform`, wired through clap's `env =` attribute on every
command that already accepts the flag:
pip compile, pip sync, pip install, pip check,
run, sync, tree, audit,
tool run, tool install, tool upgrade
The new constant is registered in `uv-static` so it's included in the
auto-generated environment-variable reference (`docs/reference/environment.md`
regenerates cleanly via `cargo dev generate-env-vars-reference`).
Clap's `env` attribute preserves existing precedence rules: an explicit
`--python-platform` on the command line still wins over the env var,
so current users see no behavior change.
Closes #15241MukundaKatta:feat/uv-python-platform-env Latest Branches
-1%
MukundaKatta:feat/uv-python-platform-env +1%
konsti/workspace-benchmark +1%
Ā© 2026 CodSpeed Technology