astral-sh/uv

uv python list doesn't show all possible combinations of python installation

オープン

#4,988 opened on 2024/07/11

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)Rust (3,111 件のフォーク)batch import
clihelp wanted

Repository metrics

Stars
 (84,934 個のスター)
PR merge metrics
 (平均マージ 7d 16h) (30d で 259 merged PRs)

説明

Hi! When running (today installed) uv to install python locally and discover some, it doesn't show all possible options for current architecture:

$ uv python list
warning: `uv python list` is experimental and may change without warning.
cpython-3.12.3-linux-x86_64-musl     <download available>
cpython-3.12.3-linux-x86_64-gnu      /usr/bin/python3
cpython-3.12.3-linux-x86_64-gnu      /bin/python3
cpython-3.11.9-linux-x86_64-musl     <download available>
cpython-3.10.14-linux-x86_64-musl    <download available>
cpython-3.9.19-linux-x86_64-musl     <download available>
cpython-3.8.19-linux-x86_64-musl     <download available>
cpython-3.7.9-linux-x86_64-musl      <download available>

But, when you try by guess-work to install cpython-3.11.9-linux-x86_64-gnu, it works:

$ uv python install cpython-3.11.9-linux-x86_64-gnu
warning: `uv python install` is experimental and may change without warning.
Searching for Python versions matching: cpython-3.11.9-linux-x86_64-gnu
Installed Python 3.11.9 to: /home/khazakar/.local/share/uv/python/cpython-3.11.9-linux-x86_64-gnu
Installed 1 version in 3.44s

I'm running Ubuntu 24.04, uv version 0.2.24, x86_64 arch.

コントリビューターガイド