[Bug 271116] net-im/py-matrix-synapse 1.82.0 should probably require devel/py-simplejson

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 28 Apr 2023 11:15:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271116

            Bug ID: 271116
           Summary: net-im/py-matrix-synapse 1.82.0 should probably
                    require devel/py-simplejson
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: marko.cupac@mimar.rs
                CC: ports@skyforge.at, python@FreeBSD.org
                CC: ports@skyforge.at, python@FreeBSD.org

Hi,

after upgrade of my jail from 13.1 to 13.2 and synapse 1.80.0 -> 1.80.0_1, I
had problem described in:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270737

I rebuilt ports this morning, and I got 1.82.0, which compiled and installed
fine, but wouldn't start, throwing the following error:

ImportError: cannot import name 'JSONDecodeError' from 'simplejson' (unknown
location)

I noticed that, after installing 1.82.0, `pkg autoremove` deinstalled
devel/py-simplejson (as it was installed as a requirement by synapse, while
current port doesn't require it):

py39-simplejson-3.18.3 deinstalled

After I built and installed devel/py-simplejson, synapse starts and works fine.

Therefore I guess synapse should require devel/py-simplejson as a dependency.

Best regards,

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