From 01dc81aa148adaa127281f197047636cf2d2c898 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Mon, 6 Jan 2014 14:50:45 -0600 Subject: [PATCH] Whitelist external netaddr 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 netaddr 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: I7c29467ebdddee7a6c68ec3fd13579e4f0c40d30 Closes-Bug: #1266513 Co-Authored-By: Jeremy Stanley --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 238d7e0c0..c7f37d8bd 100644 --- a/tox.ini +++ b/tox.ini @@ -5,7 +5,7 @@ envlist = py26,py27,py33,pep8 [testenv] usedevelop = True -install_command = pip install -U {opts} {packages} +install_command = pip install --allow-external netaddr --allow-insecure netaddr -U {opts} {packages} setenv = VIRTUAL_ENV={envdir} LANG=en_US.UTF-8 LANGUAGE=en_US:en