astral-sh / uv

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

Fix get_operating_system_and_architecture #9319

Closed jooon closed 4 days ago

jooon commented 4 days ago

_get_glibc_version() can after #9005 return either (0, 0) if glibc string is missing or (-1, -1) if the string can't be parsed. There was no need to change missing string to (0, 0).

Also, move back indentation to make it easier to understand.