Bug 261836

Summary: net-im/py-matrix-synapse: Update to 1.52.0
Product: Ports & Packages Reporter: Sascha Biberhofer <ports>
Component: Individual Port(s)Assignee: Ashish SHUKLA <ashish>
Status: Closed FIXED    
Severity: Affects Only Me CC: ashish
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
URL: https://github.com/matrix-org/synapse/releases/tag/v1.52.0
Attachments:
Description Flags
net-im/py-matrix-synapse: Update to 1.52.0 ports: maintainer-approval+

Description Sascha Biberhofer 2022-02-09 18:11:56 UTC
Created attachment 231687 [details]
net-im/py-matrix-synapse: Update to 1.52.0

This updates net-im/py-matrix-synapse to 1.52.0. From a ports perspective, this update simply syncs dependencies w/ upstream specifications and bumps the version of the port, except for the fact that we need to add an additional dependency hack to our port: Synapse now checks for prometheus-client<0.13.0, which breaks since we ship 0.13.1. This appears to only affect type hints when using mypy and after contacting upstream, shipping synapse with prometheus-client 0.13.1 was confirmed to be fine.

portlint: "OK" (3 Warnings, none new)
testport: OK (poudriere: 130amd64)
do-test: OK (Ran 2178 tests in 1207.795s, PASSED (skips=35, successes=2143))

The package also runs fine in production on my server, but feedback is always welcome. :)

Cheers,
Sascha
Comment 1 commit-hook freebsd_committer freebsd_triage 2022-02-09 18:39:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ee166a9c98232279b50f1aecf30d69c933225317

commit ee166a9c98232279b50f1aecf30d69c933225317
Author:     Sascha Biberhofer <ports@skyforge.at>
AuthorDate: 2022-02-09 18:21:25 +0000
Commit:     Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2022-02-09 18:38:35 +0000

    net-im/py-matrix-synapse: Update to 1.52.0

     - Update dependencies patch to relax constraint on prometheus-client
       dependency, as the current version in ports is beyond the constraints

    PR:             261836

 net-im/py-matrix-synapse/Makefile                         |  4 ++--
 net-im/py-matrix-synapse/distinfo                         |  6 +++---
 .../files/patch-synapse_python__dependencies.py           | 15 ++++++++++++---
 3 files changed, 17 insertions(+), 8 deletions(-)
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2022-02-09 18:39:45 UTC
Committed, thanks!