From: Thanh Ha Date: Tue, 27 Aug 2019 19:18:34 +0000 (-0400) Subject: Configure basepython to python3 X-Git-Tag: v0.4.0~9 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=dfb33d66afcf551c76b12f1665a80b4f52b3bc24;p=releng%2Fcommon-packer.git 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 --- 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}