mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-08-20 22:18:07 -04:00
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.
This commit is contained in:
parent
cd0f65d2c7
commit
a06b7a5d94
2 changed files with 7 additions and 1 deletions
2
debian/build_virtualenv
vendored
2
debian/build_virtualenv
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue