Repository navigation
Fix missing readline error on Windows - #503
Merged
Merged
Conversation
jhamon
marked this pull request as ready for review
May 27, 2025 13:49
jhamon
force-pushed
the
jhamon/missing-readline
branch
from
May 27, 2025 15:52
17ea897 to
bdaf7a9
Compare
austin-denoble
approved these changes
May 27, 2025
| uses: './.github/workflows/testing-integration.yaml' | ||
| secrets: inherit | ||
| needs: unit-tests | ||
| # integration-tests: |
Member
There was a problem hiding this comment.
Do these commented blocks need to come out?
Collaborator
Author
There was a problem hiding this comment.
Yeah, thanks for flagging. I just put them back. I disabled them temporarily to iterate quicker on some installation tests I just added.
NishchayMahor
pushed a commit
to NishchayMahor/python-sdk-1
that referenced
this pull request
Sep 22, 2026
…ecated accessors (pinecone-io#503) (pinecone-io#508) Adds dimension, metric, and vector_type back to IndexModel as computed read-only properties resolved from schema.fields, so a describe_index() round-trip no longer hard-stops at the first read of one of these. Each raises the existing guided AttributeError when unresolvable (no matching field, or more than one candidate field), and vector_type reports "dense" whenever a DenseVectorField is present regardless of any synthesized SparseVectorField (the pinecone-io/pinecone-db#18066 hybrid trap). spec, embed, and created_at are untouched. Updates the migration guide's removal table to split out these three as deprecated-but-working.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Missing
readlinedependency error when usinglist_modelsfunction. Reported in #502Solution
This error was the result of the Cursor assistant putting some code into
pinecone/scripts/repl.pythat should only have gone intoscripts/repl.py(and not been part of the package distribution).This wasn't caught in CI because:
readlineis included in our dev dependencies, which are installed in CI for testing purposes.readlineis part of the python standard library, so even though this reference was inadvertantly referenced, the presence of these import statements should not cause a problem on dev machines (mac) or CI (linux). However,readlineis not available for Windows which is why this error was occurring for the person who reported.Type of Change
Test Plan
list_models()works in google colab (where dev dependencies are not present) (7.0.2.dev1)