From d483072562376018ac0d8dd8636c96dc8d9b315a Mon Sep 17 00:00:00 2001 From: "huang.zhiping" Date: Wed, 3 Oct 2018 02:10:48 +0000 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: I7f262bdc896b30e68529bcf88a01859d8a91aa58 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 281b736..469095b 100644 --- a/tox.ini +++ b/tox.ini @@ -21,6 +21,7 @@ basepython = python3 commands = python setup.py build_sphinx [testenv:spelling] +basepython = python3 deps = -r{toxinidir}/requirements.txt sphinxcontrib-spelling