[Bug 270737] net-im/py-matrix-synapse: 1.8.0 fails to start with devel/py-canonicaljson 2.0.0

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Apr 2023 17:05:04 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270737

x0r+freebsd@x0r.fr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |x0r+freebsd@x0r.fr

--- Comment #1 from x0r+freebsd@x0r.fr ---
Hi,

I’ve just stumbled upon the same problem.

(There’s a typo in the subject: it says “1.8.0” where it should say “1.80.0”.)

It seems that version 1.80.0 absolutely requires py-canonicaljson version 1.5.0
and will not work with version 2.0.0, as can be seen in that version’s
pyproject.toml [1]. However, the latest version 1.81.0, that has just been
released, requires py-canonicaljson version >=2.0.0 and <3.0.0, as the latest
version’s pyproject.toml [2] shows.

So it seems to me that the fix consists of basically upgrading to the latest
version (and ensuring that, in the port, the version requirement for
devel/py-canonicaljson is bumped to 2.0.0). :-)

Regards,

x0r

[1]: https://github.com/matrix-org/synapse/blob/v1.80.0/pyproject.toml#L162
[2]: https://github.com/matrix-org/synapse/blob/v1.81.0/pyproject.toml#L161

-- 
You are receiving this mail because:
You are the assignee for the bug.