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: I22f6e478534a5fd90af565812dc81a0fac2f2132
This commit is contained in:
parent
97b3c40428
commit
f2cecbb2e8
2
tox.ini
2
tox.ini
|
@ -44,6 +44,7 @@ basepython = python3
|
|||
commands = python setup.py build_sphinx
|
||||
|
||||
[testenv:debug]
|
||||
basepython = python3
|
||||
commands = oslo_debug_helper {posargs}
|
||||
|
||||
[testenv:releasenotes]
|
||||
|
@ -63,6 +64,7 @@ exclude=.venv,.git,.tox,dist,doc,*lib/python*,*egg,build,releasenotes
|
|||
|
||||
|
||||
[testenv:pip-check-reqs]
|
||||
basepython = python3
|
||||
# Do not install test-requirements as that will pollute the virtualenv for
|
||||
# determining missing packages.
|
||||
# This also means that pip-check-reqs must be installed separately, outside
|
||||
|
|
Loading…
Reference in New Issue