uv
uv copied to clipboard
Fill Python requests with platform information during automatic fetches
Closes https://github.com/astral-sh/uv/issues/4800
We do this during install — it's an important step to ensure the request has the platform information in it.
@konstin could you check this resolves the issue on Linux please?
The need for a lightweight testing story for Python toolchain commands grows...
Still failing for me:
$ rm -rf ~/.local/share/uv/ ~/.cache/uv/ && cargo run -q -- tool install --preview -p 3.12 --force black --python-preference only-managed
error: Failed to query Python interpreter at `/home/konsti/.local/share/uv/python/cpython-3.12.3-macos-aarch64-none/install/bin/python3`
Caused by: Exec format error (os error 8)
@konstin that's because I didn't change it in the other place Charlie pointed out
I'm gonna add and merge for now -- we can revisit if we wanna do something better.