Closed
Description
- Bitbucket: https://bitbucket.org/hpk42/tox/issue/66
- Originally reported by: @tabo
- Originally created at: 2012-11-23T19:25:35.269
When the python interpreter for an environment is in a deep directory hierarchy (in my case due to a jenkins matrix with 4 axis), tox will make a pip call like:
#!sh
../bin/pip
The shebang in this file has the full path for the python interpreter in the virtualenv. In one of my failing tests it was:
#!sh
#!/home/tabo/jenkins/workspace/tbtest3/TOX_DB/postgres/TOX_DJANGO/dj14/TOX_PYTHON/py27/os/linux/.tox/py27-dj14-postgres/bin/python2.7
With a path length of 131 that exceeds linux's limitation of 127. Patching tox to call $PYTHON_BIN_PATH $PIP_BIN_PATH
instead of just $PIP_BIN_PATH
solves the problem.
Metadata
Metadata
Assignees
Labels
No labels