From 1307cb758782c62c044f4dd5f7330852c6b9b75e Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 26 Sep 2018 18:58:10 -0400 Subject: [PATCH] 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 --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index f3b52ae4335..f211389b941 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