summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-04-13 16:17:04 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-04-13 16:17:04 -0400
commite883541d9f7ff6bdb244d6d745305bf03a8bdfe6 (patch)
tree718dd1b3d0f226158a6742b07c83d4a8fde9d77c
parent824ff654331ed16f97140ebda347a30268cc1246 (diff)
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: Ib90566414f0967b2c7c7633950e3dc2fa8634982 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+1: pippo <huang.zhiping@99cloud.net> Code-Review+2: Julien Danjou <julien@danjou.info> Workflow+1: Julien Danjou <julien@danjou.info> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Mon, 16 Apr 2018 08:57:32 +0000 Reviewed-on: https://review.openstack.org/561343 Project: openstack/tooz Branch: refs/heads/master
-rw-r--r--tox.ini4
1 files changed, 4 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index dfaccb8..0d38b96 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,6 +3,7 @@ minversion = 1.8
3envlist = py27,py35,py{27,35}-{zookeeper,redis,sentinel,memcached,postgresql,mysql,consul,etcd,etcd3,etcd3gw},pep8 3envlist = py27,py35,py{27,35}-{zookeeper,redis,sentinel,memcached,postgresql,mysql,consul,etcd,etcd3,etcd3gw},pep8
4 4
5[testenv] 5[testenv]
6basepython = python3
6# We need to install a bit more than just `test' because those drivers have 7# We need to install a bit more than just `test' because those drivers have
7# custom tests that we always run 8# custom tests that we always run
8deps = .[test,zake,ipc,memcached,mysql,etcd,etcd3,etcd3gw] 9deps = .[test,zake,ipc,memcached,mysql,etcd,etcd3,etcd3gw]
@@ -35,6 +36,9 @@ commands =
35 {toxinidir}/run-tests.sh {toxinidir}/tools/pretty_tox.sh "{posargs}" 36 {toxinidir}/run-tests.sh {toxinidir}/tools/pretty_tox.sh "{posargs}"
36 {toxinidir}/run-examples.sh 37 {toxinidir}/run-examples.sh
37 38
39[testenv:py27]
40basepython = python2.7
41
38[testenv:venv] 42[testenv:venv]
39# This target is used by the gate go run Sphinx to build the doc 43# This target is used by the gate go run Sphinx to build the doc
40deps = {[testenv:docs]deps} 44deps = {[testenv:docs]deps}