astral-sh / uv

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

Remove `python_version` from lowered marker representation #9343

Open charliermarsh opened 19 hours ago

charliermarsh commented 19 hours ago

Summary

We never construct these -- they should be impossible, since we always translate to python_full_version. This PR encodes that impossibility in the types.