From 831ab457f716f4fea14ec26590c2388d71143685 Mon Sep 17 00:00:00 2001 From: Charlie Marsh Date: Wed, 21 Feb 2024 20:38:56 -0500 Subject: [PATCH] Treat ARM wheels as higher-priority than universal (#1843) ## Summary We need to take care to keep wheel tags in "priority order" (e.g., we should prefer ARM wheels over universal wheels). However... it looks like we've had a `.sort()` in here all along, that risks throwing off the ordering? Closes https://github.com/astral-sh/uv/issues/1840. ## Test Plan ensure that `rlax` uses the ARM wheel rather than the universal wheel: - `cargo run venv` - `cargo run pip install rlax` - `import rlax` --- crates/platform-tags/src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/crates/platform-tags/src/lib.rs b/crates/platform-tags/src/lib.rs index e444864d2..2d9f3492d 100644 --- a/crates/platform-tags/src/lib.rs +++ b/crates/platform-tags/src/lib.rs @@ -154,7 +154,6 @@ impl Tags { "none".to_string(), "any".to_string(), )); - tags.sort(); Ok(Self::new(tags)) }