diff --git a/tox.ini b/tox.ini index 2a0a44362..3d1dccd90 100644 --- a/tox.ini +++ b/tox.ini @@ -16,7 +16,6 @@ configutilities_src_dir = ../stx-config/configutilities/configutilities cgtsclient_src_dir = ../stx-config/sysinv/cgts-client/cgts-client [testenv] -basepython = python3 install_command = pip install -c{env:UPPER_CONSTRAINTS_FILE:https://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt?h=stable/pike} {opts} {packages} setenv = VIRTUAL_ENV={envdir} @@ -83,10 +82,12 @@ basepython = python3.4 commands = oslo_debug_helper {posargs} [testenv:pep8] +basepython = python3 deps = hacking<0.11,>=0.10.2 commands = flake8 [testenv:venv] +basepython = python3 commands = {posargs} [testenv:cover] @@ -119,6 +120,7 @@ commands = whitelist_externals = rm [testenv:newnote] +basepython = python3 # Re-use the releasenotes venv envdir = {toxworkdir}/releasenotes deps = -r{toxinidir}/doc/requirements.txt @@ -134,6 +136,7 @@ commands = whitelist_externals = rm [testenv:debug] +basepython = python3 commands = oslo_debug_helper {posargs} [flake8] @@ -144,6 +147,7 @@ builtins = _ exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build [testenv:genconfig] +basepython = python3 commands = oslo-config-generator --config-file=tools/config-generator.conf @@ -160,6 +164,7 @@ commands = pylint {posargs} dcmanager dcorch --rcfile=./pylint.rc [testenv:linters] +basepython = python3 # bashate ignore: # E006 - accept long lines # E040 - false positive on |& syntax (new in bash 4)