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
This commit is contained in:
qingszhao 2018-06-12 01:02:11 +08:00
parent 7eeefebbd4
commit 49c75b26fd
1 changed files with 1 additions and 0 deletions

View File

@ -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