Created attachment 231024 [details] net-im/py-matrix-synapse: Remove frozendict dependency version limit check In 1.49.2, the synapse developers introduced a limit on py-frozendict<2.1.2 due to a bug with that version on Debian 10, see[1]. Since synapse checks the version of installed dependencies on start, the recent update of devel/py-frozendict in 967f80740a61a22988967e1c2581abedd4708647 prevents synapse from starting. Since py-frozendict-2.1.2 works perfectly fine on FreeBSD, this revision removes the dependency restriction to unbreak our port. The resulting package passes tests and runs fine in production, so this should be good to go, but feedback is of course always welcome. Special thanks to Stefan Hämmerl who brought this issue to my attention. :D Cheers, Sascha [1] https://github.com/matrix-org/synapse/commit/2bf31f7807c7a0c229170803c97090d612dc16f9
I just wanted to confirm: I had to (quickly) apply similar patch to make my own server online again. Thanks.
The patch you posted ... the Makefile part of that does not apply (relative to Q12022's branch of the ports tree). The other part (the more important one) does. Just FYI.
(In reply to dave from comment #2) Hi Dave, The patch is against the main branch of ports (as is the norm, I think). The 2021Q1 branch isn't affected since it still ships devel/py-frozendict-2.1.1.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e51b5b86095bdb962b05f3c1e504fb33a91d5c96 commit e51b5b86095bdb962b05f3c1e504fb33a91d5c96 Author: Sascha Biberhofer <ports@skyforge.at> AuthorDate: 2022-01-18 17:37:18 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-01-18 17:47:40 +0000 net-im/py-matrix-synapse: Unbreak the port - Remove the dependency constraint added by upstream for problem on Debian GNU/Linux, which does not occur on FreeBSD PR: 261232 net-im/py-matrix-synapse/Makefile | 2 +- .../files/patch-synapse_python__dependencies.py | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-)
Committed, thanks!
A commit in branch 2022Q1 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=629197586cda1f5f9b5ae670605a93b03767a962 commit 629197586cda1f5f9b5ae670605a93b03767a962 Author: Sascha Biberhofer <ports@skyforge.at> AuthorDate: 2022-01-18 17:37:18 +0000 Commit: Ashish SHUKLA <ashish@FreeBSD.org> CommitDate: 2022-01-25 16:35:37 +0000 net-im/py-matrix-synapse: Unbreak the port - Remove the dependency constraint added by upstream for problem on Debian GNU/Linux, which does not occur on FreeBSD This commit resolves a merge conflict due to skipping 0290f284f. PR: 261232 (cherry picked from commit e51b5b86095bdb962b05f3c1e504fb33a91d5c96) net-im/py-matrix-synapse/Makefile | 1 + .../files/patch-synapse_python__dependencies.py | 13 +++++++++++-- 2 files changed, 12 insertions(+), 2 deletions(-)