Skip to content

Commit d48d976

Browse files
committed
Update CI files
1 parent 3af33a5 commit d48d976

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.ci/scripts/calc_constraints.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ def to_upper_bound(req):
5353
if requirement.name == "pulpcore":
5454
# An exception to allow for pulpcore deprecation policy.
5555
return fetch_pulpcore_upper_bound(requirement)
56+
# skip requirement with environment scopes. E.g 'foo==1.0.0;python_version>=3.9'
57+
if requirement.marker:
58+
return f"# ENVIRONMENT IS UNTRACKABLE: {req}"
5659
for spec in requirement.specifier:
5760
if spec.operator == "~=":
5861
return f"# NO BETTER CONSTRAINT: {req}"

0 commit comments

Comments
 (0)