Commit 44a4557a authored by Reinout van Rees's avatar Reinout van Rees

Even clearer debug logging about the requirement and its constrained version

parent 9d1e0b16
...@@ -642,11 +642,13 @@ class Installer: ...@@ -642,11 +642,13 @@ class Installer:
env = pkg_resources.Environment(ws.entries) env = pkg_resources.Environment(ws.entries)
while requirements: while requirements:
# Process dependencies breadth-first. # Process dependencies breadth-first.
req = self._constrain(requirements.pop(0)) current_requirement = requirements.pop(0)
req = self._constrain(current_requirement)
if req in processed: if req in processed:
# Ignore cyclic or redundant dependencies. # Ignore cyclic or redundant dependencies.
continue continue
logger.debug("Processing requirement %s", req) logger.debug("Processing requirement %s (constrained to %s)",
current_requirement, req)
dist = best.get(req.key) dist = best.get(req.key)
if dist is None: if dist is None:
# Find the best distribution and add it to the map. # Find the best distribution and add it to the map.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment