summary refs log tree commit diff
path: root/debian/build_virtualenv
diff options
context:
space:
mode:
authorAndrew Morgan <1342360+anoadragon453@users.noreply.github.com>2020-10-12 17:44:11 +0100
committerGitHub <noreply@github.com>2020-10-12 17:44:11 +0100
commita06b7a5d94fa8b1a5c18e563420fe78870c3473e (patch)
treef23f89a50365220ca6eae5d918a81bd2266b8c28 /debian/build_virtualenv
parentReverse proxies are not the only thing to change;be explicit w/ new endpoint (diff)
downloadsynapse-a06b7a5d94fa8b1a5c18e563420fe78870c3473e.tar.xz
Explicitly install test dependencies when building deb packages (#8523)
After https://github.com/matrix-org/synapse/pull/8377, the deb packages no longer indirectly installed the `"test"` dependencies, causing debian packages to fail to build while carrying out the unit tests.

This PR installs `test` dependencies explicitly when building debian packages.
Diffstat (limited to 'debian/build_virtualenv')
-rwxr-xr-xdebian/build_virtualenv2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/build_virtualenv b/debian/build_virtualenv
index 4c9aabcac3..cbdde93f96 100755
--- a/debian/build_virtualenv
+++ b/debian/build_virtualenv
@@ -42,7 +42,7 @@ dh_virtualenv \
     --preinstall="mock" \
     --extra-pip-arg="--no-cache-dir" \
     --extra-pip-arg="--compile" \
-    --extras="all,systemd"
+    --extras="all,systemd,test"
 
 PACKAGE_BUILD_DIR="debian/matrix-synapse-py3"
 VIRTUALENV_DIR="${PACKAGE_BUILD_DIR}${DH_VIRTUALENV_INSTALL_ROOT}/matrix-synapse"