Closed
Description
Reproduction steps:
- Have a git repository which is private, and is a pip package.
- Have a deploy key which can read the repository.
- Confirm you can run
git clone git@github.com:account/private-pip-package.git
- Google around and discover that the instructions to use a git repo as a pip dependency boil down to very nearly "prefixing the repo with
git+ssh://
and suffix it with#egg=private-pip-package
." - End up with a pip dependency of
git+ssh://git@github.com:account/private-pip-package.git#egg=private-pip
- Try installing the package, but get a
fatal: Could not read from remote repository.
instead. - Run the gamut of tests (
ssh git@github.com
works, butssh ssh://git@github.com
fails ...) - Realize (after much hair-pulling) that instead of
git+ssh://git@github.com:account/private-pip-package.git#egg=private-pip
it should begit+ssh://git@github.com/account/private-pip-package.git#egg=private-pip
(if you didn't catch that, its github.com/
account instead of github.com:
account)
I would propose that a simple note in the failure message, or checking on input, or what have you, about the :
vs. /
would be quite helpful.