Skip to content

Commit e083038

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ 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,
437437
', '.join(versions) or '(none)',
438438
)

0 commit comments

Comments
 (0)