traceloop / traceloop/openllmetry

๐Ÿ› Bug Report: pinecone-client package is giving error

Open
#2,753 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
7.4k
Forks
1.1k
Avg merge
8d 14h
Merged PRs (30d)
2

Description

Which component is this bug for?

Pinecone Instrumentation

๐Ÿ“œ Description

as per openllmetry pinecone-instrumentation the supported pinecone package is pinecone-client but seems it's replaces with pinecone hence giving error when trying to run pinecone with pinecone-client pkg installation .

๐Ÿ‘Ÿ Reproduction steps

do pip install pinecone-client and try to run the pinecone sample . You will get error at runtime

Error -

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.

๐Ÿ‘ Expected behavior

we should install pinecone instead of pinecone-client and do the same change in openllmetry to support pinecone .

๐Ÿ‘Ž Actual Behavior with Screenshots

python sample runs fine with installed pinecone package <6.0.0

๐Ÿค– Python Version

3.11.11

๐Ÿ“ƒ Provide any additional context for the Bug.

No response

๐Ÿ‘€ Have you spent some time to check if this bug has been raised before?
  • I checked and didn't find similar issue
Are you willing to submit PR?

Yes I am willing to submit a PR!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up โ€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Pinecone Instrumentation dependency and sample references to pinecone-client. Update the integration to use pinecone, then run the Pinecone sample with Python 3.11.11; done means the sample runs without the package-renaming error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
observability-sre
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.