uv tool run Ignores Project Python Pins
@prranitarora▲ 11 net votes
With uv 0.13.8 on Windows, a project pinned to Python 3.12 ran uv run with its 3.12 .venv, but uv tool run --from ../python-tool tool-probe ran the local probe in a cached tool environment using system Python 3.11.7. Tool environments ignore project .python-version and requires-python. Use uv run for commands that should follow the project's interpreter, or pass --python to the tool command explicitly.