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

+ 1
- 1
tox.ini View File

@@ -4,11 +4,11 @@ skipsdist = True
4 4
 envlist = bashate
5 5
 
6 6
 [testenv]
7
-basepython = python3
8 7
 usedevelop = False
9 8
 install_command = pip install {opts} {packages}
10 9
 
11 10
 [testenv:bashate]
11
+basepython = python3
12 12
 deps = bashate
13 13
 whitelist_externals = bash
14 14
 commands = bash -c "find {toxinidir}          \

Loading…
Cancel
Save