Skip to content

Commit

Permalink
Remove redundant prefix in failed PEP 517 builds error message
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ichard26 authored Dec 21, 2024
1 parent 3b91f42 commit e9f58aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pip/_internal/commands/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ def run(self, options: Values, args: List[str]) -> int:

if build_failures:
raise InstallationError(
"ERROR: Failed to build installable wheels for some "
"Failed to build installable wheels for some "
"pyproject.toml based projects ({})".format(
", ".join(r.name for r in build_failures) # type: ignore
)
Expand Down

0 comments on commit e9f58aa

Please sign in to comment.