1
1
Fork 0
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:
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

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):