- edited description
tox 2.3.1 venv creates malformed pip for jython
When running tox 2.3.1 under both
- CPython 2.7.11
- CPython 3.5.1
the venv for Jython (installed via homebrew) doesn't get built and the resulting pip command has the entire #! bash script invocation line wrapped in double quotes.
#!"/usr/bin/env /Users/seanj/w/projects/opensource-openmic-pdb/.tox/jython/bin/jython"
When this executed under the default bash shell.
bash: .tox/jython/bin/pip: "/usr/bin/env: bad interpreter: No such file or directory
When I remove the quotes, ./.tox/jython/bin/pip is able to execute properly.
The tox.ini is here https://bitbucket.org/s3anj/tpak/src/b21fcc36b735?at=default
Platform is OSX, with Python, PyPy and Jython installed via homebrew inside of virtualenvs. The pip list
for the CPython env is
appnope (0.1.0) decorator (4.0.7) fancycompleter (0.4) gnureadline (6.3.3) ipython (4.1.1) ipython-genutils (0.1.0) ordereddict (1.1) path.py (8.1.2) pdbpp (0.8.3) pexpect (4.0.1) pickleshare (0.6) pip (8.0.2) pluggy (0.3.1) ptyprocess (0.5.1) py (1.4.31) Pygments (2.1) pyrepl (0.8.4) pytest (2.8.7) setuptools (20.0) simplegeneric (0.8.1) tox (2.3.1) traitlets (4.1.0) virtualenv (14.0.6) wheel (0.29.0) wmctrl (0.3)
Comments (6)
-
reporter -
reporter - edited description
-
reporter This is a bug in virtualenv.
I'd like to leave this open as a tracking issue. https://github.com/pypa/virtualenv/issues/838
-
reporter This is a bug in pip https://github.com/pypa/pip/issues/3467 which actually is a bug in vendored distlib (which has been fixed). Tracking until the changes percolate up.
-
This issue has been moved to GitHub: https://github.com/tox-dev/tox/issues/311
-
- changed status to on hold
- Log in to comment