Description
In virtualenv 15, virtualenv by default attempts to upgrade pip, setuptools, and wheel while creating a virtualenv. It does this by using whatever PIP_INDEX_URL
is set (or doesn't at all if --no-download
or VIRTUALENV_NO_DOWNLOAD
is set).
In my ideal world, I'd love for tox to default to VIRTUALENV_NO_DOWNLOAD=1
, but I can see why that may be surprising or not a popular choice (since it would differ from the choice made in pypa/virtualenv). The main reason I want this is to have repeatable builds without being surprised by external factors changing / going down (pypi goes down pretty frequently! and setuptools upgrades pretty frequently (and breaks things too often)).
Since this is probably not reasonable, I think a good compromise would be to export PIP_INDEX_URL=tox['indexserver']['default']
if provided -- this would solve our primary concern and ensure repeatable builds given the state of our index server.