From: Thanh Ha Date: Tue, 27 Aug 2019 19:08:54 +0000 (-0400) Subject: Configure basepython to python3 X-Git-Tag: v0.42.1~4 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=c429b00c1db4a069a13db0dde99207ffba58f5ff;p=releng%2Fglobal-jjb.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: I65208f80b9f0479a10b1a8b6a4ba52956c2c3e3c --- diff --git a/tox.ini b/tox.ini index 4ce9e319..29ba2361 100644 --- a/tox.ini +++ b/tox.ini @@ -32,6 +32,7 @@ commands = coala --non-interactive [testenv:docs] +basepython = python3 deps = -rrequirements.txt commands = sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html @@ -41,24 +42,28 @@ commands = ./ensure-documented.sh [testenv:jjb] +basepython = python3 deps = jenkins-job-builder==2.8.0 commands = jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test [testenv:jjb-compare-xml] +basepython = python3 deps = jenkins-job-builder commands = ./jjb-compare-xml.sh [testenv:jjb-latest] +basepython = python3 deps = jenkins-job-builder commands = jenkins-jobs -l DEBUG test --recursive -o {toxinidir}/archives/job-configs {toxinidir}/jjb:{toxinidir}/.jjb-test [testenv:jjb-version] +basepython = python3 commands = python {toxinidir}/check_jjb_version.py [testenv:license] @@ -66,8 +71,8 @@ deps = lftools commands = lftools license check-dir -r '.+' shell [testenv:pre-commit] +basepython = python3 deps = - more-itertools~=5.0.0 pre-commit commands = pre-commit run --all-files