Skip to content

Commit 106042f

Browse files
committed
Simplify "Preparing metadata" logging
Do not mention wheel, as this code path is also used in legacy editable mode with isolation, where no wheel is involved. This also aligns with the new log entry for setup.py egg-info which says "Preparing metadata (setup.py)".
1 parent b07a956 commit 106042f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/pip/_internal/operations/build/metadata.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,7 @@ def generate_metadata(build_env: BuildEnvironment, backend: Pep517HookCaller) ->
2323
# Note that Pep517HookCaller implements a fallback for
2424
# prepare_metadata_for_build_wheel, so we don't have to
2525
# consider the possibility that this hook doesn't exist.
26-
runner = runner_with_spinner_message(
27-
"Preparing wheel metadata (pyproject.toml)"
28-
)
26+
runner = runner_with_spinner_message("Preparing metadata (pyproject.toml)")
2927
with backend.subprocess_runner(runner):
3028
distinfo_dir = backend.prepare_metadata_for_build_wheel(metadata_dir)
3129

0 commit comments

Comments
 (0)