From d02f90117cc0c1be1e2882f789e42a9eedd64690 Mon Sep 17 00:00:00 2001 From: Jeremy Stanley Date: Mon, 6 Jan 2014 03:47:47 +0000 Subject: [PATCH] Whitelist external lazr.authentication requirement * tox.ini(testenv.install_command): Use the --allow-external and --allow-insecure options so that pip 1.5 and later will assent to retrieve the lazr.authentication package even though it's not hosted on PyPI. The --allow-insecure option is aliased to a clearer --allow-unverified wording in 1.5, but the old form is being used to avoid breaking users of 1.4.x and will be valid at least through 1.6.x according to comments in the pip source. Change-Id: I52342a805a8b0b5ade7de494b1fd9b4079b93263 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 8eb3cd1..fedffa8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,9 @@ [tox] envlist = pyflakes, pep8, py27 +[testenv] +install_command = pip install --allow-external lazr.authentication --allow-insecure lazr.authentication -U {opts} {packages} + [testenv:pyflakes] deps = pyflakes commands = pyflakes setup.py reviewday bin