Skip to content

tox doesn't work with older pip versions like 1.4.1 #228

@pytoxbot

Description

@pytoxbot

When running bin/tox with pip 1.4.1 (and pyrun) you get:

Could not run 'bin/tox': No module named req_file

Looking into the code, this line is causing it:

lib/python2.7/site-packages/tox/_config.py:
-- from pip.req.req_file import parse_requirements

The current pip does come with a req_file module. It was added in Jan 2014 and released in version 6.0 of pip.

The setup.py of tox does not define a dependency on pip:

https://bitbucket.org/hpk42/tox/src/aa5b7ce560ca7cc27ed609fad8d2678a9e6836ac/setup.py?at=default

I guess it would be good to define the minimum version with which tox works.

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