Package: matrix-synapse Version: 1.61.0-2 Severity: grave Tags: patch fixed-upstream Justification: renders package unusable X-Debbugs-Cc: deb...@emorrp1.name Control: found -1 1.57.1-1~bpo11+1
Hi andrewsh, I believe you're aware of the problem, but yesterday's -2 upload does not fix it so I've included full details anyway. Patch is: diff --git i/pyproject.toml w/pyproject.toml index 8b21bdc8..3c64e248 100644 --- i/pyproject.toml +++ w/pyproject.toml @@ -150,7 +150,7 @@ typing-extensions = ">=3.10.0.1" cryptography = ">=3.4.7" # ijson 3.1.4 fixes a bug with "." in property names ijson = ">=3.1.4" -matrix-common = "~=1.1.0" +matrix-common = "~=1.2.1" # We need packaging.requirements.Requirement, added in 16.1. packaging = ">=16.1" # At the time of writing, we only use functions from the version `importlib.metadata` Since the upload of python-matrix-common 1.2.1 (16th in sid, 22nd in testing and bullseye-backports) the next matrix-synapse server restart after upgrading fails to start with the following runtime check: Synapse 1.57.1 needs matrix-common~=1.1.0, but got matrix-common==1.2.1 I assume here that the `~=` dep is merely too strict, and note this isn't an apt error but python module versioning so the package installs successfully and (see debconf below) doesn't even need a working homeserver config. The emergency fix to be up and running again was: sudo sed -i '/common/s/~=/>=/' /usr/lib/python3/dist-packages/matrix_synapse-1.57.1.dist-info/METADATA The old synapse version is what Freedombox is on until [#2230] is fixed and rolled out, but I've checked it still affects the latest upload: $ grep common /usr/lib/python3/dist-packages/matrix_synapse-*.dist-info/METADATA Requires-Dist: matrix-common (>=1.1.0,<1.2.0) This has been discussed in [Matrix on Debian], [FreedomBox] and [Freedombox Dev] channels. I also found upstream has [merged a fix] in develop, so this patch is only needed until the next version upload. [#2230]: https://salsa.debian.org/freedombox-team/freedombox/-/issues/2230 [Matrix on Debian]: https://view.matrix.org/room/!tfCIguhhYiGiAlZqQS:matrix.org/?offset=-29&anchor=$NbsC6BU-TUe1n_vyWGOac8FaLzh9fn8Prz0-fs1GbIQ [FreedomBox]: https://view.matrix.org/room/!jrrfdpcKPllUsyVuBf:matrix.org/?offset=-29&anchor=$165596373446454OHKvP:matrix.org [FreedomBox Dev]: https://matrix.to/#/#freedombox-dev:synapse.sds-ip.de [merged a fix]: https://github.com/matrix-org/synapse/commit/f30bcbd84a651de59777b2a749850f6ca56ce3f0 -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.18.0-2-amd64 (SMP w/2 CPU threads; PREEMPT) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages matrix-synapse depends on: ii adduser 3.121 ii debconf [debconf-2.0] 1.5.79 ii init-system-helpers 1.63 ii libjs-jquery 3.6.0+dfsg+~3.5.13-1 ii libpython3-stdlib 3.10.4-1+b1 ii lsb-base 11.2 ii python3 3.10.4-1+b1 ii python3-attr 21.2.0-1 ii python3-bcrypt 3.2.0-1+b1 ii python3-bleach 4.1.0-2 ii python3-canonicaljson 1.4.0-1 ii python3-cryptography 3.4.8-2 ii python3-distutils 3.9.12-1 ii python3-frozendict 1.2-3 ii python3-ijson 3.1.4-1+b1 ii python3-importlib-metadata 4.6.4-1 ii python3-jinja2 3.0.3-1 ii python3-jsonschema 3.2.0-5 ii python3-lxml 4.8.0-1 ii python3-matrix-common 1.2.1-1 ii python3-msgpack 1.0.3-1 ii python3-netaddr 0.8.0-2 ii python3-openssl 21.0.0-1 ii python3-packaging 21.3-1 ii python3-phonenumbers 8.12.1-2 ii python3-pil 9.1.1-1 ii python3-prometheus-client 0.9.0-1 ii python3-psycopg2 2.9.2-2 ii python3-pyasn1 0.4.8-2 ii python3-pyasn1-modules 0.2.8-1 ii python3-pymacaroons 0.13.0-5 ii python3-service-identity 18.1.0-7 ii python3-signedjson 1.1.1-2 ii python3-sortedcontainers 2.4.0-1 ii python3-systemd 234-4 ii python3-treq 22.2.0-0.1 ii python3-twisted 22.4.0-2 ii python3-typing-extensions 3.10.0.2-1 ii python3-unpaddedbase64 2.1.0-2 ii python3-yaml 5.4.1-1+b1 Versions of packages matrix-synapse recommends: ii matrix-synapse-ldap3 0.1.4+git20201015+a3c7a9f-1 pn python3-pympler <none> Versions of packages matrix-synapse suggests: pn python3-authlib <none> pn python3-jwt <none> -- debconf information: * matrix-synapse/server-name: foo.example * matrix-synapse/report-stats: false
signature.asc
Description: PGP signature