mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-25 09:49:27 -05:00
Avoid packaging _trial_temp directory (#4326)
Make sure we don't put the _trial_temp directory in the package target directory. Fixes https://github.com/matrix-org/synapse/issues/4322
This commit is contained in:
parent
7134832c01
commit
e9cdfedff3
2
changelog.d/4326.bugfix
Normal file
2
changelog.d/4326.bugfix
Normal file
@ -0,0 +1,2 @@
|
||||
Avoid packaging _trial_temp directory in -py3 debian packages
|
||||
|
3
debian/build_virtualenv
vendored
3
debian/build_virtualenv
vendored
@ -42,8 +42,7 @@ tmpdir=`mktemp -d`
|
||||
trap "rm -r $tmpdir" EXIT
|
||||
|
||||
cp -r tests "$tmpdir"
|
||||
cd debian/matrix-synapse-py3
|
||||
|
||||
PYTHONPATH="$tmpdir" \
|
||||
./opt/venvs/matrix-synapse/bin/python \
|
||||
debian/matrix-synapse-py3/opt/venvs/matrix-synapse/bin/python \
|
||||
-B -m twisted.trial --reporter=text -j2 tests
|
||||
|
Loading…
Reference in New Issue
Block a user