astral-sh/uv
uv-platform-tags
crates/uv-platform-tags/ parses and derives PEP 425
platform tags — the strings that identify which wheels can run on which Pythons.
Purpose
Compute the compatible tag set for a given interpreter. A wheel is installable if its
(python_tag, abi_tag, platform_tag) triple is in that set. The compatibility ordering
matters too: cp312-cp312-manylinux_2_28_x86_64 is preferred over
cp312-cp312-manylinux2014_x86_64 even though both run.
Key abstractions
Tags— the compatible tag set with priority.IncompatibleTag— a reason a wheel was rejected.- Helpers for inferring tags from Python's
sysconfig, plus glibc/musl version detection on Linux, macOS deployment-target handling, and Windows arch tags.
See also
uv-pythonprovides the interpreter inputs.uv-distribution-filenameparses the tag strings off filenames.uv-installerconsumes the priority order during install planning.
Built by Factory AutoWiki from public repository content. It is a generated preview for codebase exploration, not source-maintained documentation.