mode icon indicating copy to clipboard operation
mode copied to clipboard

The loop argument to asyncio.Queue is deprecated since Python 3.8, and scheduled for removal in Python 3.10

Open tirkarthi opened this issue 5 years ago • 2 comments

https://github.com/ask/mode/blob/56216a2bdd949197a3e130fb47ebfbb1306da148/mode/threads.py#L331

  /root/py39-venv/lib/python3.9/site-packages/mode/threads.py:331: DeprecationWarning: The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.
    self._queue = asyncio.Queue(loop=self.loop)

tirkarthi avatar Aug 10 '20 08:08 tirkarthi

Trying to use with python 3.10 via Faust, so this is currently blocking, is there any known workaround ?

lindycoder avatar Jan 11 '22 14:01 lindycoder

Use the updated version at https://github.com/faust-streaming/mode/, available on pypi as mode-streaming.

taybin avatar May 25 '22 16:05 taybin