astral-sh / uv

An extremely fast Python package and project manager, written in Rust.
https://docs.astral.sh/uv
Apache License 2.0
23.74k stars 681 forks source link

uv cannot find its own free-threaded Python when installing tools #8480

Open layday opened 3 hours ago

layday commented 3 hours ago
$ uv python install 3.13t
Searching for Python versions matching: Python 3.13t
Installed Python 3.13.0 in 4.20s
 + cpython-3.13.0+freethreaded-macos-aarch64-none
$ UV_PYTHON_DOWNLOADS=manual UV_PYTHON_PREFERENCE=only-managed uv tool install nox 
error: No interpreter found in managed installations
$ uv --version           
uv 0.4.25 (97eb6ab4a 2024-10-21)
$ uname   
Darwin
charliermarsh commented 3 hours ago

I guess it's not allowing the free-threaded build unless requested, or something like that?

zanieb commented 3 hours ago

Yeah we don't allow the free-threaded distribution unless you request it, even if it's the only one, due to its experimental nature.