diff --git a/common/scripts/parse-py-metadata.py b/common/scripts/parse-py-metadata.py index 72de64e..0d9384b 100644 --- a/common/scripts/parse-py-metadata.py +++ b/common/scripts/parse-py-metadata.py @@ -79,7 +79,7 @@ def match_markers(req: "Requirement", extras: set[str]) -> bool: # check the requirement for each extra we want and without any extras if extras: - return req.marker.evaluate() and any(req.marker.evaluate({"extra": e}) for e in extras) + return req.marker.evaluate() or any(req.marker.evaluate({"extra": e}) for e in extras) return req.marker.evaluate()