From 32c17807ac0b54814b25f42623d3c724142587cf Mon Sep 17 00:00:00 2001 From: Tuan Do Anh Date: Tue, 3 Jul 2018 14:30:59 +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 of that breaks the more specific versions used in default environments like py35 and py36. Change-Id: I5aea94cce51f71d98135ef94bab7445de59fa3a5 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 98c71240e..c81136a91 100644 --- a/tox.ini +++ b/tox.ini @@ -3,6 +3,7 @@ envlist = docs,pep8 skipsdist = True [testenv] +basepython = python3 usedevelop = True setenv = VIRTUAL_ENV={envdir} install_command = pip install -U {opts} {packages}