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
fix: add async-timeout dependency to address loading error (#13)
error:
File "app.py",
line 4, in <module>
from jsonrpc_websocket import Server
File "(snip)/lib/python3.11/site-packages/jsonrpc_websocket/__init__.py",
line 1, in <module>
from .jsonrpc import Server, TransportError # noqa: F401, F403
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "(snip)/lib/python3.11/site-packages/jsonrpc_websocket/jsonrpc.py",
line 7, in <module>
import async_timeout
cause:
Actually async-timeout is using in jsonrpc-websocket, it was not added
to dependency explicitly. But aiohttp depends on async-timeout until
py310, so loading error was not happened until py310. From py311,
aiohttp drop async-timeout dependency, after that jsonrpc-websocket
cause loading error. see also aio-libs/aiohttp#7558 .
0 commit comments