Skip to content

Tox 1.6.0 breaks when running tests under Python 2.5 (pip < 1.4 doesn't seem to support --insecure option) #117

@pytoxbot

Description

@pytoxbot

Newest version of tox (1.6.0) uses pip < 1.4 when running tests with Python 2.5 and passes --insecure option to pip when installing the dependencies.

The problem is that pip doesn't seem to support --insecure argument and even the new versions of pip use --allow-insecure and not --insecure.

Error (I've truncated all the environment variables)

kami /w/lc/libcloud (git:trunk)$ rm -rf .tox ; tox -e py25
GLOB sdist-make: /w/lc/libcloud/setup.py
py25 create: /w/lc/libcloud/.tox/py25
py25 pip-downgrade: pip<1.4
py25 installdeps: mock, unittest2, lockfile, ssl, simplejson, paramiko
py25 inst: /w/lc/libcloud/.tox/dist/apache-libcloud-0.14.0-dev.zip
ERROR: invocation failed, logfile: /w/lc/libcloud/.tox/py25/log/py25-3.log
ERROR: actionid=py25
msg=installpkg
cmdargs=[local('/w/lc/libcloud/.tox/py25/bin/pip'), 'install', '--insecure', '/w/lc/libcloud/.tox/dist/apache-libcloud-0.14.0-dev.zip']
env={'PYTHONIOENCODING': 'utf_8', ....}

Usage:   
  pip install [options] <requirement specifier> ...
  pip install [options] -r <requirements file> ...
  pip install [options] [-e] <vcs project url> ...
  pip install [options] [-e] <local project path> ...
  pip install [options] <archive url/path> ...

no such option: --insecure

___________________________________________ summary ____________________________________________
ERROR:   py25: InvocationError: /w/lc/libcloud/.tox/py25/bin/pip install --insecure /w/lc/libcloud/.tox/dist/apache-libcloud-0.14.0-dev.zip (see /w/lc/libcloud/.tox/py25/log/py25-3.log)

Tox version:

tox --version
1.6.0 imported from /usr/local/lib/python2.7/dist-packages/tox/__init__.pyc

Installed Python version:

/w/lc/libcloud/.tox/py25/bin/python --version
Python 2.5.6

Pip version which get installed under Python 2.5 environments:

/w/lc/libcloud/.tox/py25/bin/pip --version
pip 1.3.1 from /w/lc/libcloud/.tox/py25/lib/python2.5/site-packages/pip-1.3.1-py2.5.egg (python 2.5)

Thanks

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