Skip to content

Commit

Permalink
chore: debug output for build env preparation
Browse files Browse the repository at this point in the history
  • Loading branch information
vit-zikmund committed Dec 7, 2023
1 parent 6f9de73 commit 56b6ede
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/poetry/utils/env/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,21 @@ def build_environment(

io.overwrite_error(
"<b>Preparing</b> build environment with build-system requirements"
f" {', '.join(requires)}"
f" {', '.join(requires)}\n"
)

venv.run_pip(
output = venv.run_pip(
"install",
"--disable-pip-version-check",
"--ignore-installed",
"--no-input",
*poetry.pyproject.build_system.requires,
)

if overwrite:
if io and io.is_debug() and output:
io.write_error(output)

if not overwrite:
assert io is not None
io.write_error_line("")

Expand Down

0 comments on commit 56b6ede

Please sign in to comment.