From c7130fc2484f08ba6d8b2e34d451609c75f4aa1e Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Thu, 6 Nov 2014 18:55:21 +0000 Subject: fix check_gt --- exts/pip_find_deps.py | 3 +++ 1 file changed, 3 insertions(+) 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) -- cgit v1.2.1