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

Installing from git repo (using ssh) hangs forever #704

Closed
nhumrich opened this issue Jun 7, 2021 · 1 comment
Closed

Installing from git repo (using ssh) hangs forever #704

nhumrich opened this issue Jun 7, 2021 · 1 comment

Comments

@nhumrich
Copy link

nhumrich commented Jun 7, 2021

Describe the bug

Installing from git repo (using ssh) hangs forever. This only happens if you have steps in the ssh that require user input.
For example, if you have to type a password for your ssh key, or you have to type "yes" to accept a host key.

If there are no manual steps needed for ssh, there is no issue.

How to reproduce
try to install a packages using a git ssh url, for example:

pipx install git+ssh://[email protected]/someuser/someproject.git

but make sure that your ssh key requires a password, and isn't on your toolchain.

Then pipx will hang forever, appearing like it is trying to do something.

Expected behavior
It should prompt you for your ssh password.

My guess is this is happening because stdout isn't being piped to the current process and stdin isn't being piped back to the subprocess.

@itsayellow
Copy link
Contributor

Duplicate of #219. Valid, but follow-ups should go to that Issue.

I believe the workaround that should work for you would be to use pipx's --verbose option as described in #219 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants