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: I1efdf4f86f5a9bd02fa99b0c1fb430cf621bb7e3
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
changes/15/607715/1
Doug Hellmann 4 years ago
parent 5def22d10c
commit 8df33370cc
  1. 1
      tox.ini

@ -3,6 +3,7 @@ minversion = 1.6
skipsdist = True
[testenv:venv]
basepython = python3
commands = {posargs}
[testenv:func]

Loading…
Cancel
Save