From 49c75b26fdf5594c2b9ed8b2f10700b28b8dd15c Mon Sep 17 00:00:00 2001 From: qingszhao Date: Tue, 12 Jun 2018 01:02:11 +0800 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: I397efa210d0489fcea1240a305b65f06511081f1 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 1c422cfc2..cce41df63 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,7 @@ basepython = python3 commands = flake8 nodepool [testenv:bindep] +basepython = python3 # Do not install any requirements. We want this to be fast and work even if # system dependencies are missing, since it's used to tell you what system # dependencies are missing! This also means that bindep must be installed