You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pinecone renamed their official SDK package from pinecone-client to pinecone after releasing v5.0.1 on 2024-08-01, and since then v5.1, v5.2, v5.3, and v5.4 were published only in pinecone (pinecone package history).
Since 2025-02-21, the broken pinecone-client==6.0.0 requirement is installed:
; project_dir="$(mktemp -d)" sh -x <<'EOF' cd "${project_dir}" uv venv -q uv pip -q install "pinecone-haystack" uv pip freeze | grep pinecone uv run python -c "from haystack_integrations.document_stores.pinecone import PineconeDocumentStore; print(PineconeDocumentStore.__doc__);"EOF
pinecone-client==6.0.0
pinecone-haystack==3.0.0
pinecone-plugin-interface==0.0.7
Traceback (most recent call last):
File "<string>", line 1, in<module>
File "/tmp/tmp.U0SZtD9d5m/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/pinecone/__init__.py", line 4, in<module>
from .document_store import PineconeDocumentStore
File "/tmp/tmp.U0SZtD9d5m/.venv/lib/python3.12/site-packages/haystack_integrations/document_stores/pinecone/document_store.py", line 13, in<module>
from pinecone import Pinecone, PodSpec, ServerlessSpec
File "/tmp/tmp.U0SZtD9d5m/.venv/lib/python3.12/site-packages/pinecone/__init__.py", line 5, in<module>
raise Exception(
Exception: The official Pinecone python package has been renamed from `pinecone-client` to `pinecone`. Please remove `pinecone-client` from your project dependencies and add `pinecone` instead. See the README at https://github.com/pinecone-io/pinecone-python-client for more information on using the python SDK.
Pinning pinecone-client<6.0.0 installs the last working release:
; project_dir="$(mktemp -d)" sh <<'EOF' cd "${project_dir}" uv venv -q uv pip -q install "pinecone-haystack" "pinecone-client<6" uv pip freeze | grep pinecone uv run python -c "from haystack_integrations.document_stores.pinecone import PineconeDocumentStore; print(PineconeDocumentStore.__doc__);"EOF
pinecone-client==5.0.1
pinecone-haystack==3.0.0
pinecone-plugin-inference==1.1.0
pinecone-plugin-interface==0.0.7
A Document Store using [Pinecone vector database](https://www.pinecone.io/).
Describe your environment (please complete the following information):
OS: all
Haystack version: 2.x
pinecone-haystack: all
The text was updated successfully, but these errors were encountered:
Describe the bug
Pinecone renamed their official SDK package from
pinecone-client
topinecone
after releasing v5.0.1 on 2024-08-01, and since then v5.1, v5.2, v5.3, and v5.4 were published only inpinecone
(pinecone package history).On 2025-02-21, Pinecone published a breaking v6.0.0 in the deprecated "pinecone-client" package, which throws an exception on import to warn users about the package rename.
The
pinecone-haystack
integration requirespinecone-client>=3
, which installs the broken v6.0.0 currently.To Reproduce
Since 2025-02-21, the broken
pinecone-client==6.0.0
requirement is installed:Pinning
pinecone-client<6.0.0
installs the last working release:Describe your environment (please complete the following information):
The text was updated successfully, but these errors were encountered: