From dfb33d66afcf551c76b12f1665a80b4f52b3bc24 Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 27 Aug 2019 15:18:34 -0400 Subject: [PATCH] Configure basepython to python3 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 Change-Id: I1cfd7eebb06d0651a1fcefefb81f900aecdef057 --- tox.ini | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tox.ini b/tox.ini index d481df6..a3481af 100644 --- 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} -- 2.16.6