Use python3 as basepython for docs 78/84878/2
authorThanh Ha <zxiiro@gmail.com>
Wed, 2 Oct 2019 13:16:34 +0000 (09:16 -0400)
committerRobert Varga <nite@hq.sk>
Mon, 7 Oct 2019 10:09:37 +0000 (10:09 +0000)
Python 2 is soon to be EOL and we've been having issues with it as of
late. Bump to Python 3 as the basepython to see if it helps with the
pytest issue:

ERROR: Package u'pytest' requires a different Python: 2.7.5 not in '>=3.5'

Issue: https://jira.linuxfoundation.org/servicedesk/customer/portal/2/IT-17699
Signed-off-by: Thanh Ha <zxiiro@gmail.com>
Change-Id: Ie4c4547c9523ff5cf6c8d42e49a9514a07938e61

tox.ini

diff --git a/tox.ini b/tox.ini
index e46bdea914c5d5add9250993c56baea90105f954..a689c8b1f25536ba577c35e748ce29e1cb409ed0 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -16,6 +16,7 @@ commands =
     coala --non-interactive
 
 [testenv:docs]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -W -n -b html -d {envtmpdir}/doctrees ./docs/ {envtmpdir}/html