[Pkg-matrix-maintainers] Bug#1017008: matrix-synapse: Incorrect version in python3-canonicaljson dependency

Mikko Rasa tdb at tdb.fi
Thu Aug 11 10:30:28 BST 2022


Package: matrix-synapse
Version: 1.64.0-2
Severity: minor

After upgrade to synapse 1.64.0, the service failed to restart with no
visible error message.  Manually trying to launch synapse printed this:

ERROR:root:Synapse 1.64.0 needs canonicaljson<2.0.0,>=1.5.0, but got canonicaljson==1.4.0
Missing Requirements: "canonicaljson"
To install run:
    pip install --upgrade --force "canonicaljson"

However the package dependency still says python3-canonicaljson (>= 1.4.0).

Hitting this issue requires doing an isolated upgrade of synapse, so
probably quite rare, but still I think the dependency should be corrected.

-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.35-core2-server (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

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.5-3
ii  lsb-base                    11.2
ii  python3                     3.10.5-3
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.6.2-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+b1
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+b1
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.1.0-2
ii  python3-systemd             234-4+b1
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+b2

Versions of packages matrix-synapse recommends:
pn  matrix-synapse-ldap3  <none>
pn  python3-pympler       <none>

Versions of packages matrix-synapse suggests:
pn  python3-authlib  <none>
pn  python3-jwt      <none>

-- Configuration Files:
/etc/matrix-synapse/homeserver.yaml [Errno 13] Permission denied: '/etc/matrix-synapse/homeserver.yaml'
/etc/matrix-synapse/log.yaml changed [not included]

-- debconf information excluded



More information about the Pkg-matrix-maintainers mailing list