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: Id88b2b77ae225a88238331ca245a0fc90a742039
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Doug Hellmann 10 months ago
parent
commit
ff54c09b0d
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