If you pin python version using .python-version, then the virtual environment can't be activated. See reproduction below: -> % mkdir uv-venv-bug && cd uv-venv-bug [~/uv-venv-bug] -> % uv python pin ...