summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author98k <18552437190@163.com>2018-10-08 07:57:51 +0000
committer98k <18552437190@163.com>2018-11-06 05:23:28 +0000
commit52855b5c23a510a02c4787bad5203aef672bd539 (patch)
tree91dcb8530e315cfc509b642369438e9ce39a95a2
parent4f1ca7601f240df5cb0893d1726a429819d434a7 (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: I15eb789db64c58865fc3dae99a7e83f90c971a60 Closes-Bug: #1801657
Notes
Notes (review): Code-Review+1: Filippo Inzaghi <zhao.daqing@99cloud.net> Code-Review+1: Andriy Shevchenko <huang.zhiping@99cloud.net> Code-Review+1: Vieri <15050873171@163.com> Code-Review+2: Ghanshyam Mann <gmann@ghanshyammann.com> Workflow+1: Ghanshyam Mann <gmann@ghanshyammann.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 14 Dec 2018 08:52:39 +0000 Reviewed-on: https://review.openstack.org/608603 Project: openstack/devstack-tools Branch: refs/heads/master
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 89b03a1..a0f1ca8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -34,6 +34,7 @@ commands =
34 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html 34 sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
35 35
36[testenv:debug] 36[testenv:debug]
37basepython = python3
37commands = oslo_debug_helper {posargs} 38commands = oslo_debug_helper {posargs}
38 39
39[flake8] 40[flake8]