Browse Source

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: I8f4db75f30021fca61f7c073018a533b02316ece
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 6 months ago
parent
commit
f7ba190639
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      tox.ini

+ 2
- 0
tox.ini View File

@@ -13,7 +13,9 @@ commands =
13 13
     doc8 specs/
14 14
 
15 15
 [testenv:venv]
16
+basepython = python3
16 17
 commands = {posargs}
17 18
 
18 19
 [testenv:docs]
20
+basepython = python3
19 21
 commands = sphinx-build -W -b html doc/source doc/build/html

Loading…
Cancel
Save