Installing private repo with git+git is not working at 2018.7.1 version
See original GitHub issueThis works with older version: pipenv version: 11.10.1 pipenv install -e git+git@github.com:some/repo.git#egg=foo\&subdirectory=sub
Running same command with version: 2018.7.1. First part succeeds, then second part fails.
Installing ...
Obtaining foo from git+git@github.com:CloudVLab/fusion.git#egg=Fusion&subdirectory=python
...
Successfully installed foo
Adding -e git+git@github.com:... to Pipfile's [packages]...
Pipfile.lock (a34c46) out of date, updating to (0c0917)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
...
Command "git clone -q ssh://git@github.com:some/repo.git /tmp/tmptsmueli7source/foo" failed with error code 128 in None
...
Pipenv should either do(both commands are exactly same AFAIK):
git clone git@github.com:some/repo.git
or
git clone ssh://git@github.com/some/repo.git
notice the :
vs /
instead it is doing:
ssh://git@github.com:some/repo.git
which obviously not working.
As a workaround I had to do:
pipenv install -e git+ssh://git@github.com/some/repo.git
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Trouble installing private github repository using pip
It worked by using oxyum's suggestion of changing the : to a / : pip install git+ssh://git@github.com/matherbk/django-messages.git.
Read more >Installing Private Python Packages - Read the Docs
Read the Docs uses pip to install your Python packages. If you have private dependencies, you can install them from a private Git...
Read more >Installing private Git repositories through npm install in Docker
In this post I'll use a private repository on GitHub as an example. Any other git provider will however also work with this...
Read more >How do you install git-filter-repo? - Super User
pip install. They now have a python package that just works: python3 -m pip install --user git-filter-repo. That method installs both the ...
Read more >Create a Git repository | Bitbucket Cloud - Atlassian Support
Step 1. Create the repository · Access level—Leave the This is a private repository box checked. A private repository is only visible to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nope, I tried it. Works. Thank you!
This is resolved in what will be the next release (I’d link to the issues but we fixed it some time ago)
Have been slammed on our end lately, but should be able to get the release out shortly – sorry for the issue!