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`
This commit is contained in:
Charlie Marsh
2024-02-21 20:38:56 -05:00
committed by GitHub
parent 10be62e9d3
commit 831ab457f7
-1
View File
@@ -154,7 +154,6 @@ impl Tags {
"none".to_string(),
"any".to_string(),
));
tags.sort();
Ok(Self::new(tags))
}