Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Development version can't be installed because of submodules linked to private repositories #439

Open
asvishnyakov opened this issue Jan 29, 2025 · 1 comment
Labels
bug Something isn't working status:needs-triage An issue that needs to be triaged by the Pinecone team

Comments

@asvishnyakov
Copy link

asvishnyakov commented Jan 29, 2025

Your contribution guide suggests to install pinecone python client from git if you want to explore a potential code change, investigate a bug, or just want to try unreleased features.

This is not possible now, because codegen has submodules linked to private repositories

Collecting pinecone@ git+https://github.com/asvishnyakov/pinecone-python-client (from pinecone[grpc]@ git+https://github.com/asvishnyakov/pinecone-python-client->-r requirements.txt (line 17))
Cloning https://github.com/asvishnyakov/pinecone-python-client to /tmp/pip-install-qcsw0vd1/pinecone_283175c626524301a26f47bae554f210
Running command git clone --filter=blob:none --quiet https://github.com/asvishnyakov/pinecone-python-client /tmp/pip-install-qcsw0vd1/pinecone_283175c626524301a26f47bae554f210
Resolved https://github.com/asvishnyakov/pinecone-python-client to commit 1f2873d
Running command git submodule update --init --recursive -q
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pinecone-io/apis.git' into submodule path '/tmp/pip-install-qcsw0vd1/pinecone_283175c626524301a26f47bae554f210/codegen/apis' failed
Failed to clone 'codegen/apis'. Retry scheduled
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pinecone-io/python-oas-templates.git' into submodule path '/tmp/pip-install-qcsw0vd1/pinecone_283175c626524301a26f47bae554f210/codegen/python-oas-templates' failed
Failed to clone 'codegen/python-oas-templates'. Retry scheduled
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:pinecone-io/apis.git' into submodule path '/tmp/pip-install-qcsw0vd1/pinecone_283175c626524301a26f47bae554f210/codegen/apis' failed
Failed to clone 'codegen/apis' a second time, aborting
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× git submodule update --init --recursive -q did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

@asvishnyakov asvishnyakov added the bug Something isn't working label Jan 29, 2025
@github-actions github-actions bot added the status:needs-triage An issue that needs to be triaged by the Pinecone team label Jan 29, 2025
@asvishnyakov
Copy link
Author

asvishnyakov commented Jan 29, 2025

Removal of codegen folder resolve an issue and allows to install from repository via pip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working status:needs-triage An issue that needs to be triaged by the Pinecone team
Projects
None yet
Development

No branches or pull requests

1 participant