Fix iOS detection (#17973)
The fix is `[_version, architecture, _platform] =
version_arch.split("-")`, but I also improved the general structure a
bunch.
Fixes
https://github.com/astral-sh/uv/issues/16724#issuecomment-3530941106
This commit is contained in:
@@ -531,6 +531,7 @@ def get_operating_system_and_architecture():
|
||||
"minor": int(version[1]),
|
||||
"simulator": ios_ver.is_simulator,
|
||||
}
|
||||
[_version, architecture, _platform] = version_arch.split("-")
|
||||
elif operating_system == "emscripten":
|
||||
pyodide_abi_version = sysconfig.get_config_var("PYODIDE_ABI_VERSION")
|
||||
if not pyodide_abi_version:
|
||||
|
||||
Reference in New Issue
Block a user