Skip to content

Commit d5ce3a0

Browse files
committed
Diagnostic hint: bring back the old output format
1 parent 8755b3d commit d5ce3a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pip/_internal/resolution/resolvelib/factory.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@ def get_installation_error(self, e):
431431
versions = [str(v) for v in sorted(set(c.version for c in cands))]
432432

433433
logger.critical(
434-
"Could not find a version that satisfies the requirement %s"
435-
"\nAvailable versions:\n%s",
434+
"Could not find a version that satisfies the requirement %s "
435+
"(from versions: %s)",
436436
req_disp,
437-
', '.join(versions) or '(none)',
437+
', '.join(versions) or 'none',
438438
)
439439

440440
return DistributionNotFound(

0 commit comments

Comments
 (0)