Warn when .python-version
conflicts with uv venv -p <version>
in projects
#8847
Labels
error messages
Messaging when something goes wrong
Summary
I ask
uv
to install a Python 3.12 virtual environment and then ask it to run a command using what I assume is the default virtual environment and it actually runs it using Python 3.13.Perhaps I am misunderstanding how
uv
is supposed to work but this is a very non-intuitive customer experience.How to reproduce
$ uv venv --python 3.12 Using CPython 3.12.6 Creating virtual environment at: .venv Activate with: source .venv/bin/activate $ uv run python -V Using CPython 3.13.0 Removed virtual environment at: .venv Creating virtual environment at: .venv ...
Platform details
The text was updated successfully, but these errors were encountered: