diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:00:13 -0400 |
---|---|---|
committer | Doug Hellmann <doug@doughellmann.com> | 2018-04-13 16:00:13 -0400 |
commit | 3f7abe0bab804e7436c8c0e2b24759a49a5ea190 (patch) | |
tree | 1d1f9abf8437e3b66299990469938ee1370e1126 | |
parent | f659198dfcada1825d5241aaf1946fabedec9473 (diff) | |
download | oslo-db-3f7abe0bab804e7436c8c0e2b24759a49a5ea190.tar.gz |
set default python to python3
Set the default python to python3 except for the py27 environment. We
have to set that explicitly to override the new default.
Change-Id: I8557195409a559950da6c95aece5787195f31ad6
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r-- | tox.ini | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3,6 +3,7 @@ minversion = 2.0 envlist = py35,py27,pep8,pip-missing-reqs [testenv] +basepython = python3 install_command = pip install {opts} {packages} whitelist_externals = bash env @@ -29,6 +30,7 @@ commands = pip install SQLAlchemy>=0.9.0,!=0.9.5,<1.0.0 python setup.py testr --slowest --testr-args='{posargs}' [testenv:py27] +basepython = python2.7 commands = env TEST_EVENTLET=0 bash tools/pretty_tox.sh '{posargs}' env TEST_EVENTLET=1 bash tools/pretty_tox.sh '{posargs}' @@ -74,7 +76,6 @@ deps = pip_missing_reqs commands = pip-missing-reqs -d --ignore-module=oslo_db* --ignore-module=pkg_resources --ignore-file=oslo_db/tests/* oslo_db [testenv:lower-constraints] -basepython = python3 deps = -c{toxinidir}/lower-constraints.txt -r{toxinidir}/test-requirements.txt |