Bug Report
colab-mcp crashes immediately on startup with:
ImportError: cannot import name 'FakeConnection' from 'fakeredis.aioredis'
or alternatively:
ModuleNotFoundError: No module named 'fakeredis.aioredis'
Root Cause
The dependency chain is:
colab-mcp → fastmcp==2.14.5 → pydocket → docket
docket/_redis.py line 257 imports:
from fakeredis.aioredis import FakeConnection, FakeServer
This import path was changed in newer versions of fakeredis:
- Older versions: module didn't exist at
fakeredis.aioredis
- Middle versions:
FakeConnection existed at fakeredis.aioredis
- Newer versions: renamed to
FakeRedisConnection at fakeredis.aioredis
No version of fakeredis satisfies the current unpinned dependency constraint while keeping the import working.
Reproduction
uvx git+https://github.com/googlecolab/colab-mcp
Environment
- OS: Linux (NixOS, Linux Mint)
- Python: 3.13 / 3.14
colab-mcp version: 1.0.1 (HEAD at b9ab389)
Suggested Fix
Either:
- Pin
fakeredis to the exact version range that has FakeConnection at fakeredis.aioredis
- Update
docket/pydocket to use the new FakeRedisConnection import
- Report upstream to the
docket project
This makes the MCP server completely non-functional on any Python 3.13+ environment with a fresh install.
Bug Report
colab-mcpcrashes immediately on startup with:or alternatively:
Root Cause
The dependency chain is:
colab-mcp→fastmcp==2.14.5→pydocket→docketdocket/_redis.pyline 257 imports:This import path was changed in newer versions of
fakeredis:fakeredis.aioredisFakeConnectionexisted atfakeredis.aioredisFakeRedisConnectionatfakeredis.aioredisNo version of
fakeredissatisfies the current unpinned dependency constraint while keeping the import working.Reproduction
Environment
colab-mcpversion: 1.0.1 (HEAD at b9ab389)Suggested Fix
Either:
fakeredisto the exact version range that hasFakeConnectionatfakeredis.aioredisdocket/pydocketto use the newFakeRedisConnectionimportdocketprojectThis makes the MCP server completely non-functional on any Python 3.13+ environment with a fresh install.