From dbb4e0b1c72dd7d91ca46f449942e474cab02d60 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Fri, 9 Jan 2026 12:29:23 -0600 Subject: [PATCH] Recognize armv8l as an alias for armv7l in platform tag parsing (#17384) Closes #17375 It looks like this was missed in https://github.com/astral-sh/uv/pull/8881 and now that we fail if wheel tags do not match the target environment (see https://github.com/astral-sh/uv/pull/16074), we do not allow armv8l wheels to installed in environments where the interpreter reports armv7l. Co-authored-by: Claude --- crates/uv-platform-tags/src/platform.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/crates/uv-platform-tags/src/platform.rs b/crates/uv-platform-tags/src/platform.rs index 826ceb41f..8533f85d6 100644 --- a/crates/uv-platform-tags/src/platform.rs +++ b/crates/uv-platform-tags/src/platform.rs @@ -163,7 +163,8 @@ impl FromStr for Arch { "aarch64" => Ok(Self::Aarch64), "armv5tel" => Ok(Self::Armv5TEL), "armv6l" => Ok(Self::Armv6L), - "armv7l" => Ok(Self::Armv7L), + // armv8l is 32-bit ARM running on ARMv8 hardware, compatible with armv7l + "armv7l" | "armv8l" => Ok(Self::Armv7L), "ppc64le" => Ok(Self::Powerpc64Le), "ppc64" => Ok(Self::Powerpc64), "ppc" => Ok(Self::Powerpc),