From 154df6365cf7f904086218691bac4b5b0b977bcb Mon Sep 17 00:00:00 2001 From: Nguyen Hung Phuong Date: Tue, 3 Jul 2018 10:23:54 +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: I7b65a9dbb394224550008f0feeb5a47bb743c208 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index d7d1bab..01187b9 100644 --- a/tox.ini +++ b/tox.ini @@ -13,9 +13,11 @@ install_command = pip install -U {opts} {packages} commands = doc8 -e .rst specs/ doc/ README.rst [testenv:venv] +basepython = python3 commands = {posargs} [testenv:docs] +basepython = python3 commands = doc8 -e .rst specs/ doc/ README.rst sphinx-build -W -b html doc/source doc/build