summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-06-06 14:50:06 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-06-06 14:53:48 -0400
commit1de701edb6045e788bb4ebb4360a4d3579de58ab (patch)
tree286b06c26ab8e51a4bce0269e3f5d7134904ad21
parent747cbf92c140e4a5b4ecbc215cb195ab68fea272 (diff)
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: I7c221de42f30e6ef52f32b5ccd0905859d027c07 Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: Stephen Finucane <stephenfin@redhat.com> Workflow+1: Stephen Finucane <stephenfin@redhat.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Jun 2018 14:30:22 +0000 Reviewed-on: https://review.openstack.org/572872 Project: openstack/devstack-plugin-kafka Branch: refs/heads/master
-rw-r--r--tox.ini2
1 files changed, 1 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9bf5f09..ede6171 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,11 +4,11 @@ skipsdist = True
4envlist = bashate 4envlist = bashate
5 5
6[testenv] 6[testenv]
7basepython = python3
8usedevelop = False 7usedevelop = False
9install_command = pip install {opts} {packages} 8install_command = pip install {opts} {packages}
10 9
11[testenv:bashate] 10[testenv:bashate]
11basepython = python3
12deps = bashate 12deps = bashate
13whitelist_externals = bash 13whitelist_externals = bash
14commands = bash -c "find {toxinidir} \ 14commands = bash -c "find {toxinidir} \