Skip to content

Commit 1a8e977

Browse files
committed
Merge tag 'v1.40.0'
Synapse 1.40.0 (2021-08-10) =========================== No significant changes. Synapse 1.40.0rc3 (2021-08-09) ============================== Features -------- - Support [MSC3289: room version 8](matrix-org/matrix-spec-proposals#3289). ([\matrix-org#10449](matrix-org#10449)) Bugfixes -------- - Mark the experimental room version from [MSC2716](matrix-org/matrix-spec-proposals#2716) as unstable. ([\matrix-org#10449](matrix-org#10449)) Improved Documentation ---------------------- - Fix broken links in `upgrade.md`. Contributed by @dklimpel. ([\matrix-org#10543](matrix-org#10543)) Synapse 1.40.0rc2 (2021-08-04) ============================== Bugfixes -------- - Fix the `PeriodicallyFlushingMemoryHandler` inhibiting application shutdown because of its background thread. ([\matrix-org#10517](matrix-org#10517)) - Fix a bug introduced in Synapse v1.40.0rc1 that could cause Synapse to respond with an error when clients would update read receipts. ([\matrix-org#10531](matrix-org#10531)) Internal Changes ---------------- - Fix release script to open the correct URL for the release. ([\matrix-org#10516](matrix-org#10516)) Synapse 1.40.0rc1 (2021-08-03) ============================== Features -------- - Add support for [MSC2033](matrix-org/matrix-spec-proposals#2033): `device_id` on `/account/whoami`. ([\matrix-org#9918](matrix-org#9918)) - Update support for [MSC2716 - Incrementally importing history into existing rooms](matrix-org/matrix-spec-proposals#2716). ([\matrix-org#10245](matrix-org#10245), [\matrix-org#10432](matrix-org#10432), [\matrix-org#10463](matrix-org#10463)) - Update support for [MSC3083](matrix-org/matrix-spec-proposals#3083) to consider changes in the MSC around which servers can issue join events. ([\matrix-org#10254](matrix-org#10254), [\matrix-org#10447](matrix-org#10447), [\matrix-org#10489](matrix-org#10489)) - Initial support for [MSC3244](matrix-org/matrix-spec-proposals#3244), Room version capabilities over the /capabilities API. ([\matrix-org#10283](matrix-org#10283)) - Add a buffered logging handler which periodically flushes itself. ([\matrix-org#10407](matrix-org#10407), [\matrix-org#10515](matrix-org#10515)) - Add support for https connections to a proxy server. Contributed by @Bubu and @dklimpel. ([\matrix-org#10411](matrix-org#10411)) - Support for [MSC2285 (hidden read receipts)](matrix-org/matrix-spec-proposals#2285). Contributed by @SimonBrandner. ([\matrix-org#10413](matrix-org#10413)) - Email notifications now state whether an invitation is to a room or a space. ([\matrix-org#10426](matrix-org#10426)) - Allow setting transaction limit for database connections. ([\matrix-org#10440](matrix-org#10440), [\matrix-org#10511](matrix-org#10511)) - Add `creation_ts` to "list users" admin API. ([\matrix-org#10448](matrix-org#10448)) Bugfixes -------- - Improve character set detection in URL previews by supporting underscores (in addition to hyphens). Contributed by @srividyut. ([\matrix-org#10410](matrix-org#10410)) - Fix events being incorrectly rejected over federation if they reference auth events that the server needed to fetch. ([\matrix-org#10439](matrix-org#10439)) - Fix `synapse_federation_server_oldest_inbound_pdu_in_staging` Prometheus metric to not report a max age of 51 years when the queue is empty. ([\matrix-org#10455](matrix-org#10455)) - Fix a bug which caused an explicit assignment of power-level 0 to a user to be misinterpreted in rare circumstances. ([\matrix-org#10499](matrix-org#10499)) Improved Documentation ---------------------- - Fix hierarchy of providers on the OpenID page. ([\matrix-org#10445](matrix-org#10445)) - Consolidate development documentation to `docs/development/`. ([\matrix-org#10453](matrix-org#10453)) - Add some developer docs to explain room DAG concepts like `outliers`, `state_groups`, `depth`, etc. ([\matrix-org#10464](matrix-org#10464)) - Document how to use Complement while developing a new Synapse feature. ([\matrix-org#10483](matrix-org#10483)) Internal Changes ---------------- - Prune inbound federation queues for a room if they get too large. ([\matrix-org#10390](matrix-org#10390)) - Add type hints to `synapse.federation.transport.client` module. ([\matrix-org#10408](matrix-org#10408)) - Remove shebang line from module files. ([\matrix-org#10415](matrix-org#10415)) - Drop backwards-compatibility code that was required to support Ubuntu Xenial. ([\matrix-org#10429](matrix-org#10429)) - Use a docker image cache for the prerequisites for the debian package build. ([\matrix-org#10431](matrix-org#10431)) - Improve servlet type hints. ([\matrix-org#10437](matrix-org#10437), [\matrix-org#10438](matrix-org#10438)) - Replace usage of `or_ignore` in `simple_insert` with `simple_upsert` usage, to stop spamming postgres logs with spurious ERROR messages. ([\matrix-org#10442](matrix-org#10442)) - Update the `tests-done` Github Actions status. ([\matrix-org#10444](matrix-org#10444), [\matrix-org#10512](matrix-org#10512)) - Update type annotations to work with forthcoming Twisted 21.7.0 release. ([\matrix-org#10446](matrix-org#10446), [\matrix-org#10450](matrix-org#10450)) - Cancel redundant GHA workflows when a new commit is pushed. ([\matrix-org#10451](matrix-org#10451)) - Mitigate media repo XSS attacks on IE11 via the non-standard X-Content-Security-Policy header. ([\matrix-org#10468](matrix-org#10468)) - Additional type hints in the state handler. ([\matrix-org#10482](matrix-org#10482)) - Update syntax used to run complement tests. ([\matrix-org#10488](matrix-org#10488)) - Fix up type annotations to work with Twisted 21.7. ([\matrix-org#10490](matrix-org#10490)) - Improve type annotations for `ObservableDeferred`. ([\matrix-org#10491](matrix-org#10491)) - Extend release script to also tag and create GitHub releases. ([\matrix-org#10496](matrix-org#10496)) - Fix a bug which caused production debian packages to be incorrectly marked as 'prerelease'. ([\matrix-org#10500](matrix-org#10500))
2 parents c9a3235 + 9f7c038 commit 1a8e977

File tree

126 files changed

+4098
-947
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+4098
-947
lines changed

.github/workflows/release-artifacts.yml

+39-4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ on:
1212
# we do the full build on tags.
1313
tags: ["v*"]
1414

15+
concurrency:
16+
group: ${{ github.workflow }}-${{ github.ref }}
17+
cancel-in-progress: true
18+
1519
permissions:
1620
contents: write
1721

@@ -44,12 +48,43 @@ jobs:
4448
distro: ${{ fromJson(needs.get-distros.outputs.distros) }}
4549

4650
steps:
47-
- uses: actions/checkout@v2
51+
- name: Checkout
52+
uses: actions/checkout@v2
4853
with:
4954
path: src
50-
- uses: actions/setup-python@v2
51-
- run: ./src/scripts-dev/build_debian_packages "${{ matrix.distro }}"
52-
- uses: actions/upload-artifact@v2
55+
56+
- name: Set up Docker Buildx
57+
id: buildx
58+
uses: docker/setup-buildx-action@v1
59+
with:
60+
install: true
61+
62+
- name: Set up docker layer caching
63+
uses: actions/cache@v2
64+
with:
65+
path: /tmp/.buildx-cache
66+
key: ${{ runner.os }}-buildx-${{ github.sha }}
67+
restore-keys: |
68+
${{ runner.os }}-buildx-
69+
70+
- name: Set up python
71+
uses: actions/setup-python@v2
72+
73+
- name: Build the packages
74+
# see https://github.com/docker/build-push-action/issues/252
75+
# for the cache magic here
76+
run: |
77+
./src/scripts-dev/build_debian_packages \
78+
--docker-build-arg=--cache-from=type=local,src=/tmp/.buildx-cache \
79+
--docker-build-arg=--cache-to=type=local,mode=max,dest=/tmp/.buildx-cache-new \
80+
--docker-build-arg=--progress=plain \
81+
--docker-build-arg=--load \
82+
"${{ matrix.distro }}"
83+
rm -rf /tmp/.buildx-cache
84+
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
85+
86+
- name: Upload debs as artifacts
87+
uses: actions/upload-artifact@v2
5388
with:
5489
name: debs
5590
path: debs/*

.github/workflows/tests.yml

+26-2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
branches: ["develop", "release-*"]
66
pull_request:
77

8+
concurrency:
9+
group: ${{ github.workflow }}-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
lint:
1014
runs-on: ubuntu-latest
@@ -340,19 +344,39 @@ jobs:
340344
working-directory: complement/dockerfiles
341345

342346
# Run Complement
343-
- run: go test -v -tags synapse_blacklist,msc2403,msc2946,msc3083 ./tests
347+
- run: go test -v -tags synapse_blacklist,msc2403,msc2946,msc3083 ./tests/...
344348
env:
345349
COMPLEMENT_BASE_IMAGE: complement-synapse:latest
346350
working-directory: complement
347351

348352
# a job which marks all the other jobs as complete, thus allowing PRs to be merged.
349353
tests-done:
354+
if: ${{ always() }}
350355
needs:
356+
- lint
357+
- lint-crlf
358+
- lint-newsfile
359+
- lint-sdist
351360
- trial
352361
- trial-olddeps
353362
- sytest
354363
- portdb
355364
- complement
356365
runs-on: ubuntu-latest
357366
steps:
358-
- run: "true"
367+
- name: Set build result
368+
env:
369+
NEEDS_CONTEXT: ${{ toJSON(needs) }}
370+
# the `jq` incantation dumps out a series of "<job> <result>" lines.
371+
# we set it to an intermediate variable to avoid a pipe, which makes it
372+
# hard to set $rc.
373+
run: |
374+
rc=0
375+
results=$(jq -r 'to_entries[] | [.key,.value.result] | join(" ")' <<< $NEEDS_CONTEXT)
376+
while read job result ; do
377+
if [ "$result" != "success" ]; then
378+
echo "::set-failed ::Job $job returned $result"
379+
rc=1
380+
fi
381+
done <<< $results
382+
exit $rc

CHANGES.md

+101
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,104 @@
1+
Synapse 1.40.0 (2021-08-10)
2+
===========================
3+
4+
No significant changes.
5+
6+
7+
Synapse 1.40.0rc3 (2021-08-09)
8+
==============================
9+
10+
Features
11+
--------
12+
13+
- Support [MSC3289: room version 8](https://github.com/matrix-org/matrix-doc/pull/3289). ([\#10449](https://github.com/matrix-org/synapse/issues/10449))
14+
15+
16+
Bugfixes
17+
--------
18+
19+
- Mark the experimental room version from [MSC2716](https://github.com/matrix-org/matrix-doc/pull/2716) as unstable. ([\#10449](https://github.com/matrix-org/synapse/issues/10449))
20+
21+
22+
Improved Documentation
23+
----------------------
24+
25+
- Fix broken links in `upgrade.md`. Contributed by @dklimpel. ([\#10543](https://github.com/matrix-org/synapse/issues/10543))
26+
27+
28+
Synapse 1.40.0rc2 (2021-08-04)
29+
==============================
30+
31+
Bugfixes
32+
--------
33+
34+
- Fix the `PeriodicallyFlushingMemoryHandler` inhibiting application shutdown because of its background thread. ([\#10517](https://github.com/matrix-org/synapse/issues/10517))
35+
- Fix a bug introduced in Synapse v1.40.0rc1 that could cause Synapse to respond with an error when clients would update read receipts. ([\#10531](https://github.com/matrix-org/synapse/issues/10531))
36+
37+
38+
Internal Changes
39+
----------------
40+
41+
- Fix release script to open the correct URL for the release. ([\#10516](https://github.com/matrix-org/synapse/issues/10516))
42+
43+
44+
Synapse 1.40.0rc1 (2021-08-03)
45+
==============================
46+
47+
Features
48+
--------
49+
50+
- Add support for [MSC2033](https://github.com/matrix-org/matrix-doc/pull/2033): `device_id` on `/account/whoami`. ([\#9918](https://github.com/matrix-org/synapse/issues/9918))
51+
- Update support for [MSC2716 - Incrementally importing history into existing rooms](https://github.com/matrix-org/matrix-doc/pull/2716). ([\#10245](https://github.com/matrix-org/synapse/issues/10245), [\#10432](https://github.com/matrix-org/synapse/issues/10432), [\#10463](https://github.com/matrix-org/synapse/issues/10463))
52+
- Update support for [MSC3083](https://github.com/matrix-org/matrix-doc/pull/3083) to consider changes in the MSC around which servers can issue join events. ([\#10254](https://github.com/matrix-org/synapse/issues/10254), [\#10447](https://github.com/matrix-org/synapse/issues/10447), [\#10489](https://github.com/matrix-org/synapse/issues/10489))
53+
- Initial support for [MSC3244](https://github.com/matrix-org/matrix-doc/pull/3244), Room version capabilities over the /capabilities API. ([\#10283](https://github.com/matrix-org/synapse/issues/10283))
54+
- Add a buffered logging handler which periodically flushes itself. ([\#10407](https://github.com/matrix-org/synapse/issues/10407), [\#10515](https://github.com/matrix-org/synapse/issues/10515))
55+
- Add support for https connections to a proxy server. Contributed by @Bubu and @dklimpel. ([\#10411](https://github.com/matrix-org/synapse/issues/10411))
56+
- Support for [MSC2285 (hidden read receipts)](https://github.com/matrix-org/matrix-doc/pull/2285). Contributed by @SimonBrandner. ([\#10413](https://github.com/matrix-org/synapse/issues/10413))
57+
- Email notifications now state whether an invitation is to a room or a space. ([\#10426](https://github.com/matrix-org/synapse/issues/10426))
58+
- Allow setting transaction limit for database connections. ([\#10440](https://github.com/matrix-org/synapse/issues/10440), [\#10511](https://github.com/matrix-org/synapse/issues/10511))
59+
- Add `creation_ts` to "list users" admin API. ([\#10448](https://github.com/matrix-org/synapse/issues/10448))
60+
61+
62+
Bugfixes
63+
--------
64+
65+
- Improve character set detection in URL previews by supporting underscores (in addition to hyphens). Contributed by @srividyut. ([\#10410](https://github.com/matrix-org/synapse/issues/10410))
66+
- Fix events being incorrectly rejected over federation if they reference auth events that the server needed to fetch. ([\#10439](https://github.com/matrix-org/synapse/issues/10439))
67+
- Fix `synapse_federation_server_oldest_inbound_pdu_in_staging` Prometheus metric to not report a max age of 51 years when the queue is empty. ([\#10455](https://github.com/matrix-org/synapse/issues/10455))
68+
- Fix a bug which caused an explicit assignment of power-level 0 to a user to be misinterpreted in rare circumstances. ([\#10499](https://github.com/matrix-org/synapse/issues/10499))
69+
70+
71+
Improved Documentation
72+
----------------------
73+
74+
- Fix hierarchy of providers on the OpenID page. ([\#10445](https://github.com/matrix-org/synapse/issues/10445))
75+
- Consolidate development documentation to `docs/development/`. ([\#10453](https://github.com/matrix-org/synapse/issues/10453))
76+
- Add some developer docs to explain room DAG concepts like `outliers`, `state_groups`, `depth`, etc. ([\#10464](https://github.com/matrix-org/synapse/issues/10464))
77+
- Document how to use Complement while developing a new Synapse feature. ([\#10483](https://github.com/matrix-org/synapse/issues/10483))
78+
79+
80+
Internal Changes
81+
----------------
82+
83+
- Prune inbound federation queues for a room if they get too large. ([\#10390](https://github.com/matrix-org/synapse/issues/10390))
84+
- Add type hints to `synapse.federation.transport.client` module. ([\#10408](https://github.com/matrix-org/synapse/issues/10408))
85+
- Remove shebang line from module files. ([\#10415](https://github.com/matrix-org/synapse/issues/10415))
86+
- Drop backwards-compatibility code that was required to support Ubuntu Xenial. ([\#10429](https://github.com/matrix-org/synapse/issues/10429))
87+
- Use a docker image cache for the prerequisites for the debian package build. ([\#10431](https://github.com/matrix-org/synapse/issues/10431))
88+
- Improve servlet type hints. ([\#10437](https://github.com/matrix-org/synapse/issues/10437), [\#10438](https://github.com/matrix-org/synapse/issues/10438))
89+
- Replace usage of `or_ignore` in `simple_insert` with `simple_upsert` usage, to stop spamming postgres logs with spurious ERROR messages. ([\#10442](https://github.com/matrix-org/synapse/issues/10442))
90+
- Update the `tests-done` Github Actions status. ([\#10444](https://github.com/matrix-org/synapse/issues/10444), [\#10512](https://github.com/matrix-org/synapse/issues/10512))
91+
- Update type annotations to work with forthcoming Twisted 21.7.0 release. ([\#10446](https://github.com/matrix-org/synapse/issues/10446), [\#10450](https://github.com/matrix-org/synapse/issues/10450))
92+
- Cancel redundant GHA workflows when a new commit is pushed. ([\#10451](https://github.com/matrix-org/synapse/issues/10451))
93+
- Mitigate media repo XSS attacks on IE11 via the non-standard X-Content-Security-Policy header. ([\#10468](https://github.com/matrix-org/synapse/issues/10468))
94+
- Additional type hints in the state handler. ([\#10482](https://github.com/matrix-org/synapse/issues/10482))
95+
- Update syntax used to run complement tests. ([\#10488](https://github.com/matrix-org/synapse/issues/10488))
96+
- Fix up type annotations to work with Twisted 21.7. ([\#10490](https://github.com/matrix-org/synapse/issues/10490))
97+
- Improve type annotations for `ObservableDeferred`. ([\#10491](https://github.com/matrix-org/synapse/issues/10491))
98+
- Extend release script to also tag and create GitHub releases. ([\#10496](https://github.com/matrix-org/synapse/issues/10496))
99+
- Fix a bug which caused production debian packages to be incorrectly marked as 'prerelease'. ([\#10500](https://github.com/matrix-org/synapse/issues/10500))
100+
101+
1102
Synapse 1.39.0 (2021-07-29)
2103
===========================
3104

CONTRIBUTING.md

+40-3
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ source ./env/bin/activate
155155
./scripts-dev/lint.sh path/to/file1.py path/to/file2.py path/to/folder
156156
```
157157

158-
## Run the unit tests.
158+
## Run the unit tests (Twisted trial).
159159

160160
The unit tests run parts of Synapse, including your changes, to see if anything
161161
was broken. They are slower than the linters but will typically catch more errors.
@@ -186,7 +186,7 @@ SYNAPSE_TEST_LOG_LEVEL=DEBUG trial tests
186186
```
187187

188188

189-
## Run the integration tests.
189+
## Run the integration tests ([Sytest](https://github.com/matrix-org/sytest)).
190190

191191
The integration tests are a more comprehensive suite of tests. They
192192
run a full version of Synapse, including your changes, to check if
@@ -203,6 +203,43 @@ $ docker run --rm -it -v /path/where/you/have/cloned/the/repository\:/src:ro -v
203203
This configuration should generally cover your needs. For more details about other configurations, see [documentation in the SyTest repo](https://github.com/matrix-org/sytest/blob/develop/docker/README.md).
204204

205205

206+
## Run the integration tests ([Complement](https://github.com/matrix-org/complement)).
207+
208+
[Complement](https://github.com/matrix-org/complement) is a suite of black box tests that can be run on any homeserver implementation. It can also be thought of as end-to-end (e2e) tests.
209+
210+
It's often nice to develop on Synapse and write Complement tests at the same time.
211+
Here is how to run your local Synapse checkout against your local Complement checkout.
212+
213+
(checkout [`complement`](https://github.com/matrix-org/complement) alongside your `synapse` checkout)
214+
```sh
215+
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh
216+
```
217+
218+
To run a specific test file, you can pass the test name at the end of the command. The name passed comes from the naming structure in your Complement tests. If you're unsure of the name, you can do a full run and copy it from the test output:
219+
220+
```sh
221+
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh TestBackfillingHistory
222+
```
223+
224+
To run a specific test, you can specify the whole name structure:
225+
226+
```sh
227+
COMPLEMENT_DIR=../complement ./scripts-dev/complement.sh TestBackfillingHistory/parallel/Backfilled_historical_events_resolve_with_proper_state_in_correct_order
228+
```
229+
230+
231+
### Access database for homeserver after Complement test runs.
232+
233+
If you're curious what the database looks like after you run some tests, here are some steps to get you going in Synapse:
234+
235+
1. In your Complement test comment out `defer deployment.Destroy(t)` and replace with `defer time.Sleep(2 * time.Hour)` to keep the homeserver running after the tests complete
236+
1. Start the Complement tests
237+
1. Find the name of the container, `docker ps -f name=complement_` (this will filter for just the Compelement related Docker containers)
238+
1. Access the container replacing the name with what you found in the previous step: `docker exec -it complement_1_hs_with_application_service.hs1_2 /bin/bash`
239+
1. Install sqlite (database driver), `apt-get update && apt-get install -y sqlite3`
240+
1. Then run `sqlite3` and open the database `.open /conf/homeserver.db` (this db path comes from the Synapse homeserver.yaml)
241+
242+
206243
# 9. Submit your patch.
207244

208245
Once you're happy with your patch, it's time to prepare a Pull Request.
@@ -392,7 +429,7 @@ By now, you know the drill!
392429
# Notes for maintainers on merging PRs etc
393430

394431
There are some notes for those with commit access to the project on how we
395-
manage git [here](docs/dev/git.md).
432+
manage git [here](docs/development/git.md).
396433

397434
# Conclusion
398435

debian/build_virtualenv

+1-3
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,11 @@ esac
3333
# Use --builtin-venv to use the better `venv` module from CPython 3.4+ rather
3434
# than the 2/3 compatible `virtualenv`.
3535

36-
# Pin pip to 20.3.4 to fix breakage in 21.0 on py3.5 (xenial)
37-
3836
dh_virtualenv \
3937
--install-suffix "matrix-synapse" \
4038
--builtin-venv \
4139
--python "$SNAKE" \
42-
--upgrade-pip-to="20.3.4" \
40+
--upgrade-pip \
4341
--preinstall="lxml" \
4442
--preinstall="mock" \
4543
--extra-pip-arg="--no-cache-dir" \

debian/changelog

+28
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,31 @@
1+
matrix-synapse-py3 (1.40.0) stable; urgency=medium
2+
3+
* New synapse release 1.40.0.
4+
5+
-- Synapse Packaging team <[email protected]> Tue, 10 Aug 2021 13:50:48 +0100
6+
7+
matrix-synapse-py3 (1.40.0~rc3) stable; urgency=medium
8+
9+
* New synapse release 1.40.0~rc3.
10+
11+
-- Synapse Packaging team <[email protected]> Mon, 09 Aug 2021 13:41:08 +0100
12+
13+
matrix-synapse-py3 (1.40.0~rc2) stable; urgency=medium
14+
15+
* New synapse release 1.40.0~rc2.
16+
17+
-- Synapse Packaging team <[email protected]> Wed, 04 Aug 2021 17:08:55 +0100
18+
19+
matrix-synapse-py3 (1.40.0~rc1) stable; urgency=medium
20+
21+
[ Richard van der Hoff ]
22+
* Drop backwards-compatibility code that was required to support Ubuntu Xenial.
23+
24+
[ Synapse Packaging team ]
25+
* New synapse release 1.40.0~rc1.
26+
27+
-- Synapse Packaging team <[email protected]> Tue, 03 Aug 2021 11:31:49 +0100
28+
129
matrix-synapse-py3 (1.39.0) stable; urgency=medium
230

331
* New synapse release 1.39.0.

debian/compat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9
1+
10

debian/control

+1-4
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,8 @@ Section: contrib/python
33
Priority: extra
44
Maintainer: Synapse Packaging team <[email protected]>
55
# keep this list in sync with the build dependencies in docker/Dockerfile-dhvirtualenv.
6-
# TODO: Remove the dependency on dh-systemd after dropping support for Ubuntu xenial
7-
# On all other supported releases, it's merely a transitional package which
8-
# does nothing but depends on debhelper (> 9.20160709)
96
Build-Depends:
10-
debhelper (>= 9.20160709) | dh-systemd,
7+
debhelper (>= 10),
118
dh-virtualenv (>= 1.1),
129
libsystemd-dev,
1310
libpq-dev,

debian/rules

+1-3
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,5 @@ override_dh_shlibdeps:
5151
override_dh_virtualenv:
5252
./debian/build_virtualenv
5353

54-
# We are restricted to compat level 9 (because xenial), so have to
55-
# enable the systemd bits manually.
5654
%:
57-
dh $@ --with python-virtualenv --with systemd
55+
dh $@ --with python-virtualenv

0 commit comments

Comments
 (0)