Control: tags 1008836 + patch Control: tags 1008836 + pending
Dear maintainer, I've prepared an NMU for weechat-matrix (versioned as 0.3.0-3.1) and uploaded it to DELAYED/5. Please feel free to tell me if I should delay it longer. Regards.
diff -Nru weechat-matrix-0.3.0/debian/changelog weechat-matrix-0.3.0/debian/changelog --- weechat-matrix-0.3.0/debian/changelog 2021-11-24 13:20:25.000000000 +0100 +++ weechat-matrix-0.3.0/debian/changelog 2022-04-07 11:51:32.000000000 +0200 @@ -1,3 +1,10 @@ +weechat-matrix (0.3.0-3.1) unstable; urgency=medium + + * Non-maintainer upload. + * Add upstream patch for Python 3.10 (Closes: #1008836) + + -- Jochen Sprickerhof <jspri...@debian.org> Thu, 07 Apr 2022 11:51:32 +0200 + weechat-matrix (0.3.0-3) unstable; urgency=medium * Fix NEWS entry version to actually show diff -Nru weechat-matrix-0.3.0/debian/patches/0002-server-remove-set_npn_protocols.patch weechat-matrix-0.3.0/debian/patches/0002-server-remove-set_npn_protocols.patch --- weechat-matrix-0.3.0/debian/patches/0002-server-remove-set_npn_protocols.patch 1970-01-01 01:00:00.000000000 +0100 +++ weechat-matrix-0.3.0/debian/patches/0002-server-remove-set_npn_protocols.patch 2022-04-07 11:50:52.000000000 +0200 @@ -0,0 +1,26 @@ +From: Jonas Witschel <diabo...@archlinux.org> +Date: Sat, 11 Dec 2021 19:47:16 +0100 +Subject: server: remove set_npn_protocols() + +This function is deprecated in favour of set_alpn_protocols(), which is already +called, and is currently broken in Python 3.10, so remove it altogether. +--- + matrix/server.py | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git a/matrix/server.py b/matrix/server.py +index dda861e..0f34c1e 100644 +--- a/matrix/server.py ++++ b/matrix/server.py +@@ -303,11 +303,6 @@ class MatrixServer(object): + # Enable http2 negotiation on the ssl context. + self.ssl_context.set_alpn_protocols(["h2", "http/1.1"]) + +- try: +- self.ssl_context.set_npn_protocols(["h2", "http/1.1"]) +- except NotImplementedError: +- pass +- + self.address = None + self.homeserver = None + self.client = None # type: Optional[HttpClient] diff -Nru weechat-matrix-0.3.0/debian/patches/series weechat-matrix-0.3.0/debian/patches/series --- weechat-matrix-0.3.0/debian/patches/series 2021-11-18 12:57:51.000000000 +0100 +++ weechat-matrix-0.3.0/debian/patches/series 2022-04-07 11:50:52.000000000 +0200 @@ -1 +1,2 @@ 0001-test-drop-testing-with-Python-2.patch +0002-server-remove-set_npn_protocols.patch
signature.asc
Description: PGP signature