mirror of
https://github.com/pypa/pip
synced 2023-12-13 21:30:23 +01:00
Include package name in backtracking messaging
Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
This commit is contained in:
parent
c41bbe5248
commit
0f43e77b7f
1 changed files with 3 additions and 3 deletions
|
@ -22,12 +22,12 @@ class PipReporter(BaseReporter):
|
||||||
|
|
||||||
self._messages_at_backtrack = {
|
self._messages_at_backtrack = {
|
||||||
1: (
|
1: (
|
||||||
"pip is looking at multiple versions of this package to "
|
"pip is looking at multiple versions of {package_name} to "
|
||||||
"determine which version is compatible with other "
|
"determine which version is compatible with other "
|
||||||
"requirements. This could take a while."
|
"requirements. This could take a while."
|
||||||
),
|
),
|
||||||
8: (
|
8: (
|
||||||
"pip is looking at multiple versions of this package to "
|
"pip is looking at multiple versions of {package_name} to "
|
||||||
"determine which version is compatible with other "
|
"determine which version is compatible with other "
|
||||||
"requirements. This could take a while."
|
"requirements. This could take a while."
|
||||||
),
|
),
|
||||||
|
@ -49,7 +49,7 @@ class PipReporter(BaseReporter):
|
||||||
return
|
return
|
||||||
|
|
||||||
message = self._messages_at_backtrack[count]
|
message = self._messages_at_backtrack[count]
|
||||||
logger.info("INFO: %s", message)
|
logger.info("INFO: %s", message.format(package_name=candidate.name))
|
||||||
|
|
||||||
|
|
||||||
class PipDebuggingReporter(BaseReporter):
|
class PipDebuggingReporter(BaseReporter):
|
||||||
|
|
Loading…
Reference in a new issue