Dear Maintainer,

debian/patches/0002-Drop-deprecated-asyncio.coroutine.patch needs to be
slightly modified according to [1][2].
After applying these changes (attached), I was able to build your
package in a sid chroot environment.

Kind Regards

[1] https://github.com/penguinolog/urwid/commit/b593cf7645b6b9b53779
[2] 
https://github.com/penguinolog/urwid/commit/e2bfb61842563ec9dbc5#diff-660ea81515f75cc66aabab01f0921d66405493eb3ca8e5341a9971149af413cb
From: Jochen Sprickerhof <jspri...@debian.org>
Date: Fri, 18 Nov 2022 11:48:06 +0100
Subject: Drop deprecated @asyncio.coroutine

Removed in Python 3.11:

https://github.com/python/cpython/issues/87382
---
 urwid/tests/test_event_loops.py | 1 - 
 1 file changed, 1 deletion(-)

--- a/urwid/tests/test_event_loops.py
+++ b/urwid/tests/test_event_loops.py
@@ -204,10 +204,9 @@
         def test_coroutine_error(self):
             evl = self.evl
 
-            @asyncio.coroutine
-            def error_coro():
+            async def error_coro():
                 result = 1 / 0 # Simulate error in coroutine
-                yield result
+                return result
 
             asyncio.ensure_future(error_coro())
             self.assertRaises(ZeroDivisionError, evl.run)

Reply via email to