Fix is_disjoint check for supported environments (#6902)

This commit is contained in:
Charlie Marsh
2024-08-31 19:01:47 -04:00
committed by GitHub
parent d2df51f5f5
commit 3e647b139e
2 changed files with 115 additions and 1 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ impl RequiresPython {
/// Returns the [`RequiresPython`] as a [`MarkerTree`].
pub fn markers(&self) -> MarkerTree {
match (self.range.0.as_ref(), self.range.0.as_ref()) {
match (self.range.0.as_ref(), self.range.1.as_ref()) {
(Bound::Included(lower), Bound::Included(upper)) => {
let mut lower = MarkerTree::expression(MarkerExpression::Version {
key: MarkerValueVersion::PythonFullVersion,