aequitas / python-rflink

MIT License
30 stars 27 forks source link

Python 3.11: coroutine support deprecated #72

Closed Vrobenmat closed 1 year ago

Vrobenmat commented 1 year ago

Support for generator-based coroutines is deprecated and is removed in Python 3.11.

File "/srv/homeassistant/lib/python3.11/site-packages/homeassistant/components/rflink/init.py", line 9, in from rflink.protocol import ProtocolBase, create_rflink_connection File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 222, in class CommandSerialization(PacketHandling): File "/srv/homeassistant/lib/python3.11/site-packages/rflink/protocol.py", line 243, in CommandSerialization @asyncio.coroutine ^^^^^^^^^^^^^^^^^ AttributeError: module 'asyncio' has no attribute 'coroutine'

Vrobenmat commented 1 year ago

dupe https://github.com/home-assistant/core/issues/89297