summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 18:58:10 -0400
committerBrian Haley <haleyb.dev@gmail.com>2018-10-04 18:04:02 +0000
commit1307cb758782c62c044f4dd5f7330852c6b9b75e (patch)
treebd189893a30b2b31d12d41b4b9a513c53ac3394b
parent2530ccff8f0a0105d1626c65616080b27682e129 (diff)
downloadneutron-1307cb758782c62c044f4dd5f7330852c6b9b75e.tar.gz
fix tox python3 overrides
We want to default to running all tox environments under python 3, so set the basepython value in each environment. We do not want to specify a minor version number, because we do not want to have to update the file every time we upgrade python. We do not want to set the override once in testenv, because that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I9530cd2433e0e34f05667d33bd6469b2592f8738 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r--tox.ini4
1 files changed, 2 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index f3b52ae433..f211389b94 100644
--- a/tox.ini
+++ b/tox.ini
@@ -106,7 +106,7 @@ deps = -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pep8]
-basepython = python2.7
+basepython = python3
deps =
{[testenv]deps}
commands=
@@ -126,7 +126,7 @@ whitelist_externals =
bash
[testenv:cover]
-basepython = python2.7
+basepython = python3
setenv =
{[testenv]setenv}
PYTHON=coverage run --source neutron --parallel-mode