silence pip check output

This commit is contained in:
Roland Tannous 2026-03-08 19:22:31 +00:00
commit d10012d9fb

View file

@ -241,17 +241,11 @@ def install_python_stack() -> int:
[sys.executable, str(SINGLE_ENV / "patch_metadata.py")],
)
# 12. Final check (non-fatal — third-party conflicts are expected)
print(_cyan(" Running pip check..."))
_pip_check = subprocess.run(
# 12. Final check (silent — third-party conflicts are expected)
subprocess.run(
[sys.executable, "-m", "pip", "check"],
stdout=subprocess.PIPE, stderr=subprocess.STDOUT,
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL,
)
if _pip_check.returncode != 0:
print(_cyan(" ⚠ pip check reported dependency conflicts (non-fatal):"))
print(_pip_check.stdout.decode(errors="replace").rstrip())
else:
print(_green(" ✅ pip check passed"))
print(_green("✅ Python dependencies installed"))
return 0