github doobidoo/mcp-memory-service v8.18.1
v8.18.1 - Test Suite Import Fix

latest releases: v10.39.1, v10.39.0, v10.38.4...
5 months ago

Test Suite Import Fix

This patch release resolves critical import errors that were preventing the entire test suite from running. All 190 tests can now be collected and executed successfully.

Fixed

  • Test Suite Import Errors - Resolved critical import failures blocking all test collection
    • MCP Client Import: Updated from deprecated mcp module to mcp.client.session (v1.1.2 API)
    • Storage Path Import: Removed obsolete CHROMA_PATH constant that no longer exists in current architecture
    • Impact: Restored ability to collect and run 190 test cases across unit, integration, and E2E test suites

Technical Details

  • Test Files Updated: tests/unit/test_import.py, tests/integration/test_store_memory.py
  • Import Fix: from mcp import ClientSession, StdioServerParametersfrom mcp.client.session import ClientSession
  • Cleanup: Removed dependency on deprecated storage constants

Related

Installation

# PyPI
pip install mcp-memory-service==8.18.1

# Or with uv
uv pip install mcp-memory-service==8.18.1

# From source
git clone https://github.com/doobidoo/mcp-memory-service.git
cd mcp-memory-service
git checkout v8.18.1
python install.py

Verification

# Test collection should now work
pytest --collect-only
# Expected: 190 tests collected

# Run specific test files
pytest tests/unit/test_import.py -v
pytest tests/integration/test_store_memory.py -v

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

Don't miss a new mcp-memory-service release

NewReleases is sending notifications on new releases.