Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a06b7a5

Browse files
Explicitly install test dependencies when building deb packages (#8523)
After #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.
1 parent cd0f65d commit a06b7a5

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

debian/build_virtualenv

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ dh_virtualenv \
4242
--preinstall="mock" \
4343
--extra-pip-arg="--no-cache-dir" \
4444
--extra-pip-arg="--compile" \
45-
--extras="all,systemd"
45+
--extras="all,systemd,test"
4646

4747
PACKAGE_BUILD_DIR="debian/matrix-synapse-py3"
4848
VIRTUALENV_DIR="${PACKAGE_BUILD_DIR}${DH_VIRTUALENV_INSTALL_ROOT}/matrix-synapse"

debian/changelog

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.21.0+nmu1) UNRELEASED; urgency=medium
2+
3+
* Explicitly install "test" python dependencies.
4+
5+
-- Andrew Morgan <[email protected]> Mon, 12 Oct 2020 17:30:30 +0100
6+
17
matrix-synapse-py3 (1.21.0) stable; urgency=medium
28

39
* New synapse release 1.21.0.

0 commit comments

Comments
 (0)