You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to import from pymodbus.client.asynchronous.asyncio import AsyncioModbusTcpClient produces a series of messages [WARNING]: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead (DeprecationWarning). Python 3.8 has deprecated the coroutine decorator. Also, there is a filter in pymodbus that always shows these warnings so it's not possible to suppress them.
The text was updated successfully, but these errors were encountered:
@dhoomakethu I'm happy to open a PR to address this. One thing to note is that converting to use of the async keyword would limit the library to 3.5+ but that seems like a pretty reasonable limitation to me.
Versions
Pymodbus Specific
Description
Trying to import
from pymodbus.client.asynchronous.asyncio import AsyncioModbusTcpClient
produces a series of messages[WARNING]: "@coroutine" decorator is deprecated since Python 3.8, use "async def" instead (DeprecationWarning)
. Python 3.8 has deprecated thecoroutine
decorator. Also, there is a filter in pymodbus that always shows these warnings so it's not possible to suppress them.The text was updated successfully, but these errors were encountered: