diff --git a/debian/build_virtualenv b/debian/build_virtualenv
index 4c9aabcac38683c87c72c4156fc77ec67422619e..cbdde93f96a976b3f8d0f40d20b23372935c10e7 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"
diff --git a/debian/changelog b/debian/changelog
index a08782f587dac771c434a89dee0c299d0859ebcb..27b6708115fdfefec68afe68e25bd210a66a15b0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+matrix-synapse-py3 (1.21.0+nmu1) UNRELEASED; urgency=medium
+
+  * Explicitly install "test" python dependencies.
+
+ -- Andrew Morgan <andrewm@matrix.org>  Mon, 12 Oct 2020 17:30:30 +0100
+
 matrix-synapse-py3 (1.21.0) stable; urgency=medium
 
   * New synapse release 1.21.0.