setup_venv: Install libyaml-dev.

This will let PyYAML link against LibYAML when PyYAML is next
installed.  Due to virtualenv-clone, that won’t happen until the next
Python package removal anyway, so we don’t bother bumping
PROVISION_VERSION.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg 2020-08-07 18:17:37 -07:00 committed by Tim Abbott
parent ba34e2a61c
commit 3582183fba
1 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ VENV_DEPENDENCIES = [
"libpq-dev", # Needed by psycopg2
"libssl-dev", # Needed to build pycurl and other libraries
"libmagic1", # Used for install python-magic
"libyaml-dev", # For fast YAML parsing in PyYAML
# Needed by python-xmlsec:
"libxmlsec1-dev",
"pkg-config",
@ -42,6 +43,7 @@ COMMON_YUM_VENV_DEPENDENCIES = [
"zlib-devel",
"libjpeg-turbo-devel",
"openldap-devel",
"libyaml-devel",
# Needed by python-xmlsec:
"gcc"
"python3-devel",