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
mcpmodule tomcp.client.session(v1.1.2 API) - Storage Path Import: Removed obsolete
CHROMA_PATHconstant that no longer exists in current architecture - Impact: Restored ability to collect and run 190 test cases across unit, integration, and E2E test suites
- MCP Client Import: Updated from deprecated
Technical Details
- Test Files Updated:
tests/unit/test_import.py,tests/integration/test_store_memory.py - Import Fix:
from mcp import ClientSession, StdioServerParameters→from mcp.client.session import ClientSession - Cleanup: Removed dependency on deprecated storage constants
Related
- PR: #205
- Issue: #204
- Full Changelog: CHANGELOG.md
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.pyVerification
# 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