-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
install private git repos #313
Comments
Hey @gregwebs, thanks for taking the time to open this ticket. If you look at the official documentation for pip, you'll note that installing with dependencies in the format Please let us know if you have any further questions. |
@gregwebs, forgive my hastiness here. You should be able to pass the For the time being, you'll need to add an entry to your Pipfile in this format.
|
@nateprewitt let's make sure to write a test for this! |
Thanks for the workaround! You might want to re-open the issue if you are going to use it to track the regression. |
Im not sure if is the same issue but I think is related. I want to install a private repo in a project:
It works but it generates this in the
missing the |
For the perplexed (I sure were), I shall convert https://github.com/kennethreitz/pipenv/issues/313#issuecomment-293915992 into TOML syntax and extend it with a [packages.package_name]
git = "[email protected]:org/repo/package_name.git"
ref = "a_branch_name_a_tag_or_commit_hash"
editable = "true" |
I encourage you to use |
@kennethreitz the issue that I mentioned it still happening in the last version. Should I open a new issue for this? |
Did you explore using nertrc? |
I think this might be the right place to put this. While using In the Pipfile the entry Is there something I'm doing wrong? |
/cc @techalchemy |
@theSage21 I also am seeing this, I opened a separate issue, #1393 |
How can I change the name of the package? For example I'm trying to install this repo https://github.com/priestc/python-altcoin-blockchain-parser But the name pipenv would install it with isn't a valid when importing, so I need to change the name (ideally to pabp). I can't seem to find a way and unfortunately adding the following line doesn't seem to do the job (although installing works fine)
|
The package is actually called blockchain_parser. |
Thanks @theSage21! But, question still stands - is it possible to install a package under a different name for whatever reason (perhaps the package name contains |
FTR, as |
For me, the working solution was adding this line to Pipfile:
Note: my |
pipenv supports the format
git+https://github.com/org/repo...
. However, that will prompt me for a username and password. I expected it to support (as pip does) the form[email protected]:org/repo...
. However, trying this gives the error messageThe text was updated successfully, but these errors were encountered: