diff --git a/crates/distribution-types/src/prioritized_distribution.rs b/crates/distribution-types/src/prioritized_distribution.rs index 27bc7be2deb72..4d4146b24e41d 100644 --- a/crates/distribution-types/src/prioritized_distribution.rs +++ b/crates/distribution-types/src/prioritized_distribution.rs @@ -569,7 +569,7 @@ impl IncompatibleWheel { }, Self::Tag(tag_self) => match other { Self::ExcludeNewer(_) => false, - Self::Tag(tag_other) => tag_other > tag_self, + Self::Tag(tag_other) => tag_self > tag_other, Self::NoBinary | Self::RequiresPython(_, _) | Self::Yanked(_) => true, }, Self::RequiresPython(_, _) => match other {