File "/Users/yuqi/project/gravitino-enterprise/mcp-server/tests/unit/tools/test_topic.py", line 48, in _test_load_topic
async with Client(mcp_server) as client:
File "/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fastmcp/client/client.py", line 496, in __aenter__
return await self._connect()
File "/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fastmcp/client/client.py", line 587, in _connect
raise RuntimeError(
RuntimeError: Client failed to connect: cannot import name 'FakeConnection' from 'fakeredis.aioredis' (/Users/yuqi/project/gravitino-enterprise/mcp-server/.venv/lib/python3.10/site-packages/fakeredis/aioredis.py)
Please see above.
Please see above.
Version
main branch
Describe what's wrong
When running tests in the mcp-server module, the following problems will occur
Error message and/or stacktrace
Please see above.
How to reproduce
Please see above.
Additional context
No response