From 7ccc871da7ad152cc72a81c102a680c8fb911f9f Mon Sep 17 00:00:00 2001 From: Spitap Date: Mon, 5 Feb 2024 12:23:06 +0100 Subject: [PATCH] Make pip quiet --- modoboa_installer/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modoboa_installer/python.py b/modoboa_installer/python.py index 7c48cfe..e8147ee 100644 --- a/modoboa_installer/python.py +++ b/modoboa_installer/python.py @@ -49,7 +49,7 @@ def install_packages(names, venv=None, upgrade=False, **kwargs): def get_package_version(name, venv=None, **kwargs): """Returns the version of an installed package.""" - cmd = f"{get_pip_path(venv)} list --format json" + cmd = f"{get_pip_path(venv)} -qqq list --format json" exit_code, output = utils.exec_cmd(cmd, **kwargs) if exit_code != 0: utils.error(f"Failed to get version of {name}. "