Skip to content

Commit e8f7e28

Browse files
alexmvtimabbott
authored andcommitted
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.
1 parent 44e73ee commit e8f7e28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/lib/create-production-venv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ vendor = distro_info["ID"]
2020
os_version = distro_info["VERSION_ID"]
2121
VENV_DEPENDENCIES = get_venv_dependencies(vendor, os_version)
2222
if "debian" in os_families():
23-
run(["apt-get", "-y", "install", *VENV_DEPENDENCIES])
23+
run(["apt-get", "-y", "install", "--no-install-recommends", *VENV_DEPENDENCIES])
2424
elif "fedora" in os_families():
2525
run(["yum", "-y", "install", *VENV_DEPENDENCIES])
2626
else:

0 commit comments

Comments
 (0)