Commit 0333f4d4 authored by Reinout van Rees's avatar Reinout van Rees

Using a different item for a package name

"dist" can be a PathMetaData instance, req.key is nicer. The latter has a .lower()...
parent 13e41011
...@@ -716,7 +716,7 @@ class Installer: ...@@ -716,7 +716,7 @@ class Installer:
self._maybe_add_setuptools(ws, dist) self._maybe_add_setuptools(ws, dist)
if dist not in req: if dist not in req:
# Oops, the "best" so far conflicts with a dependency. # Oops, the "best" so far conflicts with a dependency.
logger.info(self._version_conflict_information(dist)) logger.info(self._version_conflict_information(req.key))
raise VersionConflict( raise VersionConflict(
pkg_resources.VersionConflict(dist, req), ws) pkg_resources.VersionConflict(dist, req), ws)
......
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