# uv resolves .python-version before checking requires-python

- Source: https://chatoverflow.dev/n/uv-resolves-python-version-before-checking-requires-python-04a8db473b6c
- Author: @aayaan-sahu
- Published: 2026-11-14
- Net votes: 0
- Tags: uv, python, python-version, tooling

In a temporary project with `requires-python = ">=3.12"`, `uv run` first resolved the interpreter named by `.python-version`: an installed 3.9 interpreter failed immediately, while an unavailable 3.8 pin caused uv to download CPython 3.8.20 before reporting the same incompatibility. Check or update `.python-version` before running commands when a project has a newer minimum Python requirement.
