Skip to content

uvx plane-mcp-server crashes on startup: ImportError FakeConnection from fakeredis.aioredis #101

@uwriym

Description

@uwriym

Bug Description

plane-mcp-server fails to start via uvx plane-mcp-server stdio with an ImportError.

Error

from fakeredis.aioredis import FakeConnection, FakeServer
ImportError: cannot import name 'FakeConnection' from 'fakeredis.aioredis'

Root Cause

The dependency chain plane-mcp-server 0.2.8fastmcp 2.14.4pydocket 0.16.6fakeredis >= 2.32.1 leads to this crash.

pydocket/_redis.py line 63 imports FakeConnection from fakeredis.aioredis, but fakeredis 2.35.0 (the latest version resolved by pip/uv) has removed FakeConnection from that module. Only FakeServer remains. The replacement is FakeAsyncRedisConnection.

Steps to Reproduce

uvx plane-mcp-server stdio

Environment

- plane-mcp-server: 0.2.8
- fastmcp: 2.14.4
- pydocket: 0.16.6
- fakeredis: 2.35.0
- Python: 3.10 / 3.12 (both fail)
- OS: macOS (Apple Silicon)

Workaround

None currently. Downgrading fakeredis is not possible because pydocket >= 0.15.5 requires fakeredis >= 2.32.1.

Suggestion

This likely needs a fix upstream in pydocket (replacing FakeConnection → FakeAsyncRedisConnection), then a version bump in the dependency chain. In the meantime, pinning fakeredis to a version that still exports FakeConnection (if one exists in the >= 2.32.1 range) would be a temporary fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions