From 3a494dec962a793be29130ed76223a5bc7696a42 Mon Sep 17 00:00:00 2001 From: Richard Ipsum Date: Thu, 6 Nov 2014 18:53:47 +0000 Subject: fix bug in check_lt --- 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 42617a6..965b395 100755 --- a/exts/pip_find_deps.py +++ b/exts/pip_find_deps.py @@ -147,6 +147,9 @@ def check_eqs(dep, version): def check_lt(dep, version): if dep.is_unconstrained(): dep.less_than = version + elif dep.is_unbounded(): + if dep.absolute >= version: + dep.conflicts.append((('==', dep.absolute), ('<', version))) elif dep.greater_than >= version: # conflict #(our minimum version is greater # than this greater_than version) -- cgit v1.2.1