From 29a386df3c3c875e929881e7194344a73bb9c0f1 Mon Sep 17 00:00:00 2001 From: Van Hung Pham Date: Wed, 18 Jul 2018 11:43:04 +0700 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: If0f86ecb4c18216daf158101dbd3663bda06956f --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index fe88343e..53c14551 100644 --- a/tox.ini +++ b/tox.ini @@ -9,6 +9,7 @@ passenv=HTTP_PROXY HTTPS_PROXY http_proxy https_proxy NO_PROXY no_proxy # Please use `make docs` instead [testenv:docs] +basepython=python3 whitelist_externals= rm cp @@ -45,6 +46,7 @@ commands= tox -c {toxinidir}/src/bin/shipyard_client/tox.ini -e py36 [testenv:pep8] +basepython=python3 whitelist_externals= tox commands=