silence pip check output
This commit is contained in:
parent
0f11415c22
commit
d10012d9fb
1 changed files with 3 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue