summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xexts/pip_find_deps.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/exts/pip_find_deps.py b/exts/pip_find_deps.py
index 965b395..1096f9a 100755
--- a/exts/pip_find_deps.py
+++ b/exts/pip_find_deps.py
@@ -162,6 +162,9 @@ def check_lt(dep, version):
def check_gt(dep, version):
if dep.is_unconstrained():
dep.greater_than = version
+ elif dep.is_unbounded():
+ if dep.absolute <= version:
+ dep.conflicts.append((('==', dep.absolute), ('>', version)))
elif dep.less_than <= version:
# conflict (our maximum version is less than this
# less_than version)