Skip to content

py25 virtualenv downgrade fails if tox is installed w/ easy_install (as egg) #132

@pytoxbot

Description

@pytoxbot

VERSION-INFO: tox 1.6.1, setuptools>=0.9.8, python2.7

Run "tox -e py25" in a virtualenv where tox is installed with easy_install (as egg).
Python2.5 interpreter tries to access "virtualenv.py" that is bundled with tox in the egg, but cannot reach into the zipped egg (with the provided path).

Note the problem occurs before the actual downgrade.

xxx)shell> tox -e py25
GLOB sdist-make: /.../xxx/my_project/setup.py
py25 create: /.../xxx/my_project/.tox/py25
ERROR: invocation failed, logfile: /.../xxx/my_project/.tox/py25/log/py25-0.log
ERROR: actionid=py25
msg=getenv
cmdargs=['/usr/bin/python2.5', '/.../xxx/lib/python2.7/site-packages/tox-1.6.1-py2.7.egg/tox/vendor/virtualenv.py', '--setuptools', '--python', '/usr/bin/python2.5', 'py25']
...
/usr/bin/python2.5: can't open file '/.../xxx/lib/python2.7/site-packages/tox-1.6.1-py2.7.egg/tox/vendor/virtualenv.py': [Errno 20] Not a directory

ERROR: InvocationError: /usr/bin/python2.5 /.../xxx/lib/python2.7/site-packages/tox-1.6.1-py2.7.egg/tox/vendor/virtualenv.py --setuptools --python /usr/bin/python2.5 py25 (see /.../xxx/my_project/.tox/py25/log/py25-0.log)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions