astral-sh/uv

Filter Python executables on Windows by Python version metadata

Open

#13,927 opened on Jun 9, 2025

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Rust (3,111 forks)batch import
help wantedperformancewindows

Repository metrics

Stars
 (84,934 stars)
PR merge metrics
 (Avg merge 7d 16h) (259 merged PRs in 30d)

Description

See https://github.com/astral-sh/ruff/pull/18550#issuecomment-2956350021

Windows Python executables seem to have the Python version embedded in their metadata. This may be faster than querying the Python interpreter to get its version, which would speed up Python discovery on Windows when a specific version is requested.

Contributor guide