From 62b617e34eea9d089dadadb6eb3c2cae7860dc44 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Dec 2024 01:03:26 +0000 Subject: [PATCH] build: sync with upstream 2024-12-25 https://github.com/void-linux/void-packages/commit/4e1e5531 --- common/scripts/parse-py-metadata.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()