From f8dab9b7ac9306169aee2b740c2e42c96b51c228 Mon Sep 17 00:00:00 2001 From: Hynek Schlawack Date: Thu, 1 Jun 2017 09:20:30 +0200 Subject: [PATCH] Use VIRTUALENV_NO_DOWNLOAD in tox (#200) --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index 61eea75f..ab2842e9 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,10 @@ envlist = py27,py34,py35,py36,pypy,flake8,manifest,docs,readme,coverage-report [testenv] +# Prevent random setuptools/pip breakages like +# https://github.com/pypa/setuptools/issues/1042 from breaking our builds. +setenv = + VIRTUALENV_NO_DOWNLOAD=1 deps = -rdev-requirements.txt commands = python -m pytest {posargs}