Configure basepython to python3 22/84322/1
authorThanh Ha <zxiiro@gmail.com>
Wed, 11 Sep 2019 12:59:32 +0000 (08:59 -0400)
committerThanh Ha <zxiiro@gmail.com>
Wed, 11 Sep 2019 13:00:13 +0000 (09:00 -0400)
More and more libraries that we are pulling in require Python 3 so
to avoid having to play the pin dependencies whack-a-mole game let's
bump or base python where possible to python3.

Change-Id: I401e8fc25f8ed370cd9ce77ba6b6cb436ece0620
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 7987050ef04a868704cca16d1258f074bec4da87..092baf8c4fa41c5d3087e92614c54d4a4598fc52 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -4,15 +4,18 @@ envlist = pre-commit,docs
 skipsdist = true
 
 [testenv:docs]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -j auto -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
 
 [testenv:docs-linkcheck]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands = sphinx-build -j auto -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:pre-commit]
+basepython = python3
 deps = pre-commit
 commands =
     pre-commit install