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
This commit is contained in:
2
tox.ini
2
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
|
||||
|
||||
Reference in New Issue
Block a user