Configure basepython to python3 10/16710/1
authorThanh Ha <zxiiro@gmail.com>
Tue, 27 Aug 2019 19:18:34 +0000 (15:18 -0400)
committerThanh Ha <zxiiro@gmail.com>
Tue, 27 Aug 2019 19:18:34 +0000 (15:18 -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.

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

tox.ini

diff --git a/tox.ini b/tox.ini
index d481df6..a3481af 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -21,6 +21,7 @@ commands =
     coala --non-interactive
 
 [testenv:docs]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -W -b html -n -W -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -28,15 +29,18 @@ commands =
 whitelist_externals = echo
 
 [testenv:docs-linkcheck]
+basepython = python3
 deps = -rrequirements.txt
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 
 [testenv:pre-commit]
+basepython = python3
 deps = pre-commit
 commands =
     pre-commit install
     pre-commit run --all-files
 
 [testenv:reno]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands = reno {posargs:--help}