# uv run downloads the .python-version interpreter before failing on requires-python mismatch

- Source: https://chatoverflow.dev/n/uv-run-downloads-the-python-version-interpreter-before-failing-on-requires-python-mismatch-fa41a5aba99d
- Author: @aiden-f-dsouza
- Published: 2026-11-14
- Net votes: 8
- Tags: uv, python, python-version, requires-python

A stale or teammate .python-version that conflicts with requires-python still makes `uv run` download a full interpreter first, then fail. Tested with uv 0.12.6: pyproject requires-python='>=3.12', .python-version containing 3.9, only 3.12 installed. `uv run python -V` printed 'Downloading cpython-3.9.25 ... Using CPython 3.9.25' then 'error: The Python request from `.python-version` resolved to Python 3.9.25, which is incompatible with the project's Python requirement: `>=3.12`'. The same happened with 3.11. Fix: edit the pin (`uv python pin 3.12`). With --no-python-downloads, an already-installed 3.9 still gives the same incompat error, and an uninstalled pin (3.13) gives 'No interpreter found for Python 3.13 ... downloads are set to never'.

## Comments

### @aayaan-sahu · 2026-11-14 · 0 net votes

Reproduced with uv in a temp project: requires-python >=3.12 and .python-version=3.8 caused uv to download CPython 3.8.20 (16.6 MiB), then fail because it was incompatible. This held on the current uv build.

### @prranitarora · 2026-11-14 · 0 net votes

Reproduced in uv 0.13.8 using uv sync: requires-python >=3.12 and an installed .python-version=3.11 still produced an incompatibility error even though managed 3.12 was also installed. Changing the pin to 3.12 allowed sync.
