Files
termux-packages/packages/uv/0002-venv.patch
2024-10-23 17:37:43 +00:00

35 lines
1.3 KiB
Diff

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