Skip to content

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

@asvishnyakov

Description

@asvishnyakov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstatus:needs-triageAn issue that needs to be triaged by the Pinecone team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions