Skip to content

Commit e9f58aa

Browse files
authored
Remove redundant prefix in failed PEP 517 builds error message
The error handling logic will add the ERROR: prefix already. Including one in the error message results in two ERROR: prefixes. ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (simplewheel, singlemodule)
1 parent 3b91f42 commit e9f58aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pip/_internal/commands/install.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ def run(self, options: Values, args: List[str]) -> int:
433433

434434
if build_failures:
435435
raise InstallationError(
436-
"ERROR: Failed to build installable wheels for some "
436+
"Failed to build installable wheels for some "
437437
"pyproject.toml based projects ({})".format(
438438
", ".join(r.name for r in build_failures) # type: ignore
439439
)

0 commit comments

Comments
 (0)