mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 13:03:29 +00:00
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.
(cherry picked from commit e8f7e281a7)
This commit is contained in:
committed by
Tim Abbott
parent
6b7b3abc8d
commit
7ab8be318c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user