From e9f58aab3f83e72046f660e6a2500808a5d47e87 Mon Sep 17 00:00:00 2001 From: Richard Si Date: Sat, 21 Dec 2024 18:23:02 -0500 Subject: [PATCH] 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) --- src/pip/_internal/commands/install.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pip/_internal/commands/install.py b/src/pip/_internal/commands/install.py index 70acf202be9..232a34a6d3e 100644 --- a/src/pip/_internal/commands/install.py +++ b/src/pip/_internal/commands/install.py @@ -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 )