fix that crap

Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2018-03-06 09:02:47 -05:00
parent c231cf0dcc
commit 5a0ff86752
-2
View File
@@ -196,8 +196,6 @@ class Resolver(object):
safe_constraints = []
for best_match in best_matches:
for dep in self._iter_dependencies(best_match):
if dep.markers and not dep.markers.evaluate():
continue
if self.allow_unsafe or dep.name not in UNSAFE_PACKAGES:
safe_constraints.append(dep)
# Grouping constraints to make clean diff between rounds