Skip to content

Commit 2c5919a

Browse files
committed
restrict current pinecone instrumentation to v6.0.2
1 parent cfb6224 commit 2c5919a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ dev = [
4848
"qdrant-client",
4949
"graphlit-client",
5050
"python-dotenv",
51-
"pinecone",
51+
"pinecone>=3.1.0,<=6.0.2",
5252
"langchain",
5353
"langchain-community",
5454
"langchain-openai",

src/langtrace_python_sdk/instrumentation/pinecone/instrumentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class PineconeInstrumentation(BaseInstrumentor):
3333
The PineconeInstrumentation class represents the Pinecone instrumentation"""
3434

3535
def instrumentation_dependencies(self) -> Collection[str]:
36-
return ["pinecone >= 3.1.0"]
36+
return ["pinecone >= 3.1.0", "pinecone <= 6.0.2"]
3737

3838
def _instrument(self, **kwargs):
3939
tracer_provider = kwargs.get("tracer_provider")

0 commit comments

Comments
 (0)