summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2018-09-26 18:36:52 -0400
committerDoug Hellmann <doug@doughellmann.com>2018-09-26 18:36:52 -0400
commit59eda7f2a445c7caa698cbbe1d363017934c8e39 (patch)
treea1d47ca521ad7f76334d306cb37191dba5c916ae
parentb364cdc660a7528f889f75bd17f9880881c17fd9 (diff)
fix tox python3 overridesHEADmaster
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: If134cb43df5b974c1cbd2415b144f6805d37893a Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Notes
Notes (review): Code-Review+2: Frank Kloeker <f.kloeker@telekom.de> Code-Review+1: Nguyen Hai <nguyentrihai93@gmail.com> Workflow+1: Frank Kloeker <f.kloeker@telekom.de> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Fri, 19 Oct 2018 14:26:43 +0000 Reviewed-on: https://review.openstack.org/606638 Project: openstack/i18n-specs Branch: refs/heads/master
-rw-r--r--tox.ini2
1 files changed, 2 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 4cc23b1..2aab5d3 100644
--- a/tox.ini
+++ b/tox.ini
@@ -13,9 +13,11 @@ deps = -r{toxinidir}/requirements.txt
13commands = echo 'None of tests exist. It is placeholder.' 13commands = echo 'None of tests exist. It is placeholder.'
14 14
15[testenv:venv] 15[testenv:venv]
16basepython = python3
16commands = {posargs} 17commands = {posargs}
17 18
18[testenv:docs] 19[testenv:docs]
20basepython = python3
19commands = python setup.py build_sphinx 21commands = python setup.py build_sphinx
20 22
21[testenv:spelling] 23[testenv:spelling]