mirror of
https://github.com/zulip/zulip.git
synced 2025-11-12 01:47:41 +00:00
setup_venv: Clean up VENV_DEPENDENCIES using parsed lsb_release.
This is mostly a cleanup, but it should also save 50ms in the runtime of create-production-venv.
This commit is contained in:
@@ -143,10 +143,6 @@ APT_DEPENDENCIES = {
|
||||
"postgresql-9.6",
|
||||
"postgresql-9.6-tsearch-extras",
|
||||
"postgresql-9.6-pgroonga",
|
||||
# Technically, this should be in VENV_DEPENDENCIES, but it
|
||||
# doesn't exist in trusty and we don't have a conditional on
|
||||
# platform there.
|
||||
"virtualenv",
|
||||
],
|
||||
"trusty": UBUNTU_COMMON_APT_DEPENDENCIES + [
|
||||
"postgresql-9.3",
|
||||
@@ -157,13 +153,11 @@ APT_DEPENDENCIES = {
|
||||
"postgresql-9.5",
|
||||
"postgresql-9.5-tsearch-extras",
|
||||
"postgresql-9.5-pgroonga",
|
||||
"virtualenv", # see comment on stretch
|
||||
],
|
||||
"bionic": UBUNTU_COMMON_APT_DEPENDENCIES + [
|
||||
"postgresql-10",
|
||||
"postgresql-10-pgroonga",
|
||||
"postgresql-10-tsearch-extras",
|
||||
"virtualenv", # see comment on stretch
|
||||
],
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user