Skip to content

Fix uv platform names in python.mk - #3

Open
edgarrmondragon wants to merge 1 commit into
makeplus:mainfrom
edgarrmondragon:fix-python-uv-platform-names
Open

edgarrmondragon wants to merge 1 commit into
makeplus:mainfrom
edgarrmondragon:fix-python-uv-platform-names

Conversation

@edgarrmondragon

@edgarrmondragon edgarrmondragon commented Dec 2, 2026 •

Copy link
Copy Markdown

uv's managed Python downloads use the "gnu" libc tag for Linux and "none" for macOS, so linux-arm64 and macos-int64 requested names that uv python install cannot find.

The download metadata keys macOS builds as "darwin", but uv accepts "macos" as an alias in requests, so the "macos-" prefix is kept.

This is a similar bug to

uv's managed Python downloads use the "gnu" libc tag for Linux and "none" for macOS, so linux-arm64 and macos-int64 requested names that `uv python install` cannot find.

The download metadata keys macOS builds as "darwin", but uv accepts "macos" as an alias in requests, so the "macos-" prefix is kept.

- https://docs.astral.sh/uv/concepts/python-versions/#requesting-a-version
- https://github.com/astral-sh/uv/blob/main/crates/uv-python-managed/download-metadata.json

Signed-off-by: Edgar Ramírez-Mondragón <[email protected]>
edgarrmondragon added a commit to edgarrmondragon/yamlstar that referenced this pull request Dec 2, 2026
The PYTHON-NAME override works around makes requesting a uv Python
name that does not exist on Linux arm64; see
makeplus/makes#3.

Signed-off-by: Edgar Ramírez-Mondragón <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant