virtualenv creation failure under pypy-1.5a0

Issue #9 on hold
Chris McDonough created an issue

For the following tox.ini configuration:

{{{ #!text

[tox] envlist = py25,py26,py27,jython,pypy

[testenv] commands = python setup.py test -q deps = Sphinx WebTest repoze.sphinx.autointerface virtualenv

[testenv:jython] commands = jython setup.py test -q

}}}

Running "tox -e pypy" (which finds pypy 1.5a0 on my PATH), produces this:

{{{ #!text

[chrism@thinko pyramid]$ tox -e pypy ______ [tox sdist] ____ [TOX] *creating sdist package [TOX] /home/chrism/projects/pyramid$ /home/chrism/opt/Python-2.6.6/bin/python setup.py sdist --formats=zip --dist-dir .tox/dist >.tox/log/0.log [TOX] *copying new sdistfile to '/home/chrism/.tox/distshare/pyramid-1.1b2.zip'______ [tox testenv:pypy] _____ [TOX] ***creating virtualenv pypy [TOX] /home/chrism/projects/pyramid/.tox$ /home/chrism/projects/pypy/pypy/translator/goal/pypy-c ../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py --distribute --no-site-packages pypy >pypy/log/0.log [TOX] ERROR: invocation failed, logfile: /home/chrism/projects/pyramid/.tox/pypy/log/0.log [TOX] ERROR: /home/chrism/projects/pyramid/.tox$ /home/chrism/projects/pypy/pypy/translator/goal/pypy-c ../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py --distribute --no-site-packages pypy >pypy/log/0.log New pypy executable in pypy/bin/pypy-c Also creating executable in pypy/bin/pypy Installing distribute........ Complete output from command /home/chrism/project....tox/pypy/bin/pypy-c -c "#!python \"\"\"Bootstra... main(sys.argv[1:]) " --always-copy -U distribute: Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "app_main.py", line 506, in run_it File "<string>", line 20, in <module> ImportError: No module named tempfile ---------------------------------------- ...Installing distribute...done. Traceback (most recent call last): File "app_main.py", line 53, in run_toplevel File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 1922, in <module> main() File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 796, in main never_download=options.never_download) File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 893, in create_environment search_dirs=search_dirs, never_download=never_download) File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 594, in install_distribute search_dirs=search_dirs, never_download=never_download) File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 563, in _install_req cwd=cwd) File "../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py", line 864, in call_subprocess % (cmd_desc, proc.returncode)) OSError: Command /home/chrism/project....tox/pypy/bin/pypy-c -c "#!python \"\"\"Bootstra... main(sys.argv[1:]) " --always-copy -U distribute failed with error code 1

[TOX] ERROR: InvocationError: /home/chrism/projects/pypy/pypy/translator/goal/pypy-c ../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py --distribute --no-site-packages pypy (see /home/chrism/projects/pyramid/.tox/pypy/log/0.log) _____ [tox summary] ______ [TOX] ERROR: pypy: InvocationError: /home/chrism/projects/pypy/pypy/translator/goal/pypy-c ../../../opt/Python-2.6.6/lib/python2.6/site-packages/tox-1.1-py2.6.egg/tox/virtualenv.py --distribute --no-site-packages pypy (see /home/chrism/projects/pyramid/.tox/pypy/log/0.log)

}}}

Comments (3)

  1. Log in to comment