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: I3c9bac1d75ad962545b3f1e3c1996bcfa820a805 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
parent
ed9954bec8
commit
034933ec8a
3
tox.ini
3
tox.ini
|
@ -34,12 +34,15 @@ deps = {[testenv:functional]deps}
|
|||
commands = {[testenv:functional]commands}
|
||||
|
||||
[testenv:venv]
|
||||
basepython = python3
|
||||
commands = {posargs}
|
||||
|
||||
[testenv:releasenotes]
|
||||
basepython = python3
|
||||
commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python3
|
||||
setenv = PYTHONHASHSEED=0
|
||||
sitepackages = False
|
||||
commands =
|
||||
|
|
Loading…
Reference in New Issue