mirror of https://github.com/astral-sh/uv
Change error value detection for glibc (#3487)
## Summary See: #3486. This just fixes the error message, not the underlying bug.
This commit is contained in:
parent
58d1cd2acb
commit
f342d39f8c
|
|
@ -469,7 +469,7 @@ def get_operating_system_and_architecture():
|
||||||
"major": musl_version[0],
|
"major": musl_version[0],
|
||||||
"minor": musl_version[1],
|
"minor": musl_version[1],
|
||||||
}
|
}
|
||||||
elif glibc_version:
|
elif glibc_version != (-1, -1):
|
||||||
operating_system = {
|
operating_system = {
|
||||||
"name": "manylinux",
|
"name": "manylinux",
|
||||||
"major": glibc_version[0],
|
"major": glibc_version[0],
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue