-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
diff --git a/crates/uv-python/python/get_interpreter_info.py b/crates/uv-python/python/get_interpreter_info.py | ||
index d056d385..63edefd9 100644 | ||
--- a/crates/uv-python/python/get_interpreter_info.py | ||
+++ b/crates/uv-python/python/get_interpreter_info.py | ||
@@ -461,6 +461,7 @@ def get_operating_system_and_architecture(): | ||
# noinspection PyProtectedMember | ||
from .packaging._musllinux import _get_musl_version | ||
|
||
+ """ | ||
musl_version = _get_musl_version(sys.executable) | ||
glibc_version = _get_glibc_version() | ||
if musl_version: | ||
@@ -478,6 +479,12 @@ def get_operating_system_and_architecture(): | ||
else: | ||
print(json.dumps({"result": "error", "kind": "libc_not_found"})) | ||
sys.exit(0) | ||
+ """ | ||
+ operating_system = { | ||
+ "name": "linux", | ||
+ "major": 1, | ||
+ "minor": 0, | ||
+ } | ||
elif operating_system == "win": | ||
operating_system = { | ||
"name": "windows", | ||
@@ -544,7 +551,7 @@ def main() -> None: | ||
} | ||
os_and_arch = get_operating_system_and_architecture() | ||
|
||
- manylinux_compatible = True | ||
+ manylinux_compatible = False | ||
if os_and_arch["os"]["name"] == "manylinux": | ||
# noinspection PyProtectedMember | ||
from .packaging._manylinux import _get_glibc_version, _is_compatible |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters