mirror of https://github.com/zulip/zulip.git
create-production-venv: Do not pull in "recommended" packages.
This prevents, among other things, `libvips` from pulling in the `firefox` package by way of the `nip2` package. Fixes: #31411.
This commit is contained in:
parent
44e73eecc1
commit
e8f7e281a7
|
@ -20,7 +20,7 @@ vendor = distro_info["ID"]
|
|||
os_version = distro_info["VERSION_ID"]
|
||||
VENV_DEPENDENCIES = get_venv_dependencies(vendor, os_version)
|
||||
if "debian" in os_families():
|
||||
run(["apt-get", "-y", "install", *VENV_DEPENDENCIES])
|
||||
run(["apt-get", "-y", "install", "--no-install-recommends", *VENV_DEPENDENCIES])
|
||||
elif "fedora" in os_families():
|
||||
run(["yum", "-y", "install", *VENV_DEPENDENCIES])
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue