New issue 169: Tox fails to create python 3.3 venv
https://bitbucket.org/hpk42/tox/issue/169/tox-fails-to-create-python-33-venv
dwt:
While trying to create a virtualenv for python 3.3 I'm getting the following
error:
```
% tox --develop -v --recreate -e py33
using tox.ini: /Users/dwt/Code/Projekte/pyexpect/tox.ini
using tox-1.7.1 from
/Users/dwt/Library/Python/2.7/lib/python/site-packages/tox-1.7.1-py2.7.egg/tox/__init__.pyc
py33 recreate: /Users/dwt/Code/Projekte/pyexpect/.tox/py33
ERROR: UnsupportedInterpreter: python2.5 is not supported anymore, sorry
___________ summary ____________
ERROR: py33: UnsupportedInterpreter: python2.5 is not supported anymore, sorry
```
What is supposed to happen is this:
```
% PYTHONPATH='' tox --develop -v --recreate -e py33
using tox.ini: /Users/dwt/Code/Projekte/pyexpect/tox.ini
using tox-1.7.1 from
/Users/dwt/Library/Python/2.7/lib/python/site-packages/tox-1.7.1-py2.7.egg/tox/__init__.pyc
py33 recreate: /Users/dwt/Code/Projekte/pyexpect/.tox/py33
/Users/dwt/Code/Projekte/pyexpect/.tox$ /usr/bin/python -mvirtualenv
--setuptools --python /Users/dwt/Library/Homebrew/bin/python3.3 py33
>/Users/dwt/Code/Projekte/pyexpect/.tox/py33/log/py33-0.log
py33 develop-inst: /Users/dwt/Code/Projekte/pyexpect
/Users/dwt/Code/Projekte/pyexpect$
/Users/dwt/Code/Projekte/pyexpect/.tox/py33/bin/pip install --pre -e
/Users/dwt/Code/Projekte/pyexpect
>/Users/dwt/Code/Projekte/pyexpect/.tox/py33/log/py33-1.log
py33 runtests: PYTHONHASHSEED='1252960215'
py33 runtests: commands[0] |
/Users/dwt/Code/Projekte/pyexpect/.tox/py33/bin/python pyexpect.py
/Users/dwt/Code/Projekte/pyexpect$
/Users/dwt/Code/Projekte/pyexpect/.tox/py33/bin/python pyexpect.py
..................................
----------------------------------------------------------------------
Ran 34 tests in 0.272s
OK
___________ summary ____________
py33: commands succeeded
congratulations :)
```
My tox file specifies this variable:
```
[tox]
envlist = py26, py27, py33
#, pypy
[testenv]
commands = {envpython} pyexpect.py
[testenv:py33]
setenv =
PYTHONPATH =
```
So it seems tox is missing to actually hand in that virtualenv variable to the
python 3.3 in question.
_______________________________________________
pytest-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pytest-commit