Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions src/databricks/labs/blueprint/wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,11 @@ def _build_wheel(self, tmp_dir: str, *, verbose: bool = False, no_deps: bool = T
:param no_deps: bool: (Default value = True)
:param dirs_exist_ok: bool: (Default value = False)
"""
stdout = subprocess.STDOUT
stderr = subprocess.STDOUT
if not verbose:
stdout = subprocess.DEVNULL
stderr = subprocess.DEVNULL
stdout: int | None = subprocess.DEVNULL
stderr = subprocess.DEVNULL
if verbose:
stdout = None # Pass-through.
stderr = subprocess.STDOUT # Redirected to stdout
checkout_root = self._product_info.checkout_root()
if self._product_info.is_git_checkout() and self._product_info.is_unreleased_version():
# working copy becomes project root for building a wheel
Expand Down
Loading