Include package name in backtracking messaging

Signed-off-by: Pradyun Gedam <pradyunsg@users.noreply.github.com>
This commit is contained in:
Pradyun Gedam 2020-11-19 16:14:42 +00:00
parent c41bbe5248
commit 0f43e77b7f
No known key found for this signature in database
GPG Key ID: FF99710C4332258E
1 changed files with 3 additions and 3 deletions

View File

@ -22,12 +22,12 @@ class PipReporter(BaseReporter):
self._messages_at_backtrack = {
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 "
"requirements. This could take a while."
),
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 "
"requirements. This could take a while."
),
@ -49,7 +49,7 @@ class PipReporter(BaseReporter):
return
message = self._messages_at_backtrack[count]
logger.info("INFO: %s", message)
logger.info("INFO: %s", message.format(package_name=candidate.name))
class PipDebuggingReporter(BaseReporter):