Closed jimmcslim closed 2 weeks ago
If pyenv
puts executables on the PATH, we'll find them, but we don't support querying pyenv-specific locations or pyenv itself. Details on what we support at https://docs.astral.sh/uv/concepts/python-versions/#discovery-of-python-versions
I'm using
uv 0.3.1 (Homebrew 2024-08-21)
With the references to
pyenv
in theuv
documentation it is unclear to me if I should also be seeing the list of Python's thatpyenv
has installed.From
uv python list
I get...From
pyenv versions
I get...Running
python3
and queryingus.path.dirname(sys.executable)
in the REPL I get/opt/homebrew/opt/python@3.12/bin
If I run
pyenv local 3.9.4
and then runuv python list
I get...Which shows that having specified a version of Python in a local
.python-version
file it finds thepyenv
managed version.Just not sure if I should be expecting to see ALL of the pyenv versions in the
uv python list
- and if not, might be worth updating the Discovery documentation to make it clear thatuv
will only have visibility of the currently activatedpyenv
Python.