[TIP] tox, pip, git, and ssh-agent
René Dudfield
renesd at gmail.com
Tue May 26 02:12:29 PDT 2015
Hellos,
[EDIT: SOLVED]
Add this to tox.ini. Do not add SSH_AGENT_PID on OS X, since that stops it
working.
passenv =
SSH_AUTH_SOCK
Maybe this should be passed through by tox by default, as it's a fairly
common use case and is quite confusing.
[END EDIT]
When using tox, it does not seem to use the ssh-agent that pip usually uses
when cloning a git ssh based repo (hosted on bitbucket).
It asks me for a passphrase in the terminal (usually OS X asks with a GUI).
Enter passphrase for key '/Users/me/.ssh/id_rsa':
pip installs ok without tox.
Any ideas?
Versions of things tried with...
pip 1.5.6
pip 7.0.1
tox 2.0.1
OS X 10.9.x
OpenSSH_6.2p2
best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20150526/e145b9c9/attachment.html>
More information about the testing-in-python
mailing list