Skip to content

chore: fix Pinecone types and make sure that tests run#2658

Merged
anakin87 merged 2 commits into
mainfrom
pinecone-ci-fix
Jan 7, 2026
Merged

chore: fix Pinecone types and make sure that tests run#2658
anakin87 merged 2 commits into
mainfrom
pinecone-ci-fix

Conversation

@anakin87
Copy link
Copy Markdown
Member

@anakin87 anakin87 commented Jan 7, 2026

Related Issues

There was an error on Pinecone test matrix that prevented tests from running

python-version: ["3.10", "3.13"]
# the INDEX_NAME is used in test_serverless_index_creation_from_scratch
include:
- python-version: "3.9"
INDEX_NAME: "index-39"

When I ran tests with Python 3.10, I realized they have released a new version with stricter types

Proposed Changes:

  • fix test matrix
  • fix type errors

How did you test it?

CI

Checklist

@anakin87 anakin87 changed the title test: fix Pinecone test matrix chore: fix Pinecone types and make sure that tests run Jan 7, 2026
@anakin87 anakin87 marked this pull request as ready for review January 7, 2026 09:27
@anakin87 anakin87 requested a review from a team as a code owner January 7, 2026 09:27
@anakin87 anakin87 requested review from mpangrazzi and removed request for a team January 7, 2026 09:27
@anakin87 anakin87 self-assigned this Jan 7, 2026
)

documents_for_pinecone.append(doc_for_pinecone)
documents_for_pinecone.append((document.id, embedding, metadata))
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Surprising that the dict version was working if pinecone was expecting tuples

Copy link
Copy Markdown
Contributor

@sjrl sjrl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@anakin87 anakin87 merged commit c9ef137 into main Jan 7, 2026
6 checks passed
@anakin87 anakin87 deleted the pinecone-ci-fix branch January 7, 2026 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants