mem0
mem0 copied to clipboard
mem0 incompatible with latest release of pinecone, version 7
🐛 Describe the bug
make test shows errors
__________________________________________________________________________ ERROR collecting tests/vector_stores/test_pinecone.py __________________________________________________________________________
ImportError while importing test module '/Users/john/repos/mem0/tests/vector_stores/test_pinecone.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/importlib/__init__.py:127: in import_module
return _bootstrap._gcd_import(name[level:], package, level)
tests/vector_stores/test_pinecone.py:5: in <module>
from mem0.vector_stores.pinecone import PineconeDB
mem0/vector_stores/pinecone.py:11: in <module>
raise ImportError(
E ImportError: Pinecone requires extra dependencies. Install with `pip install pinecone pinecone-text`
I noticed a PR I updated fail it's tests with the same issue, so I created a fresh env with hatch and ran into this.
Pinecone 7.0.0 and 7.0.1 were just released over the last few days. I installed the latests version <7.0.0 and the tests passed.