From b27e78676f0fcf69fcaf9d4988d319caf65d76c3 Mon Sep 17 00:00:00 2001 From: Dougal Matthews Date: Fri, 17 Feb 2017 13:20:54 +0000 Subject: [PATCH] Force Python 2 for documentation builds The documentation will fail to build under Python 3 as some of the Sphinx extensions are not compatible. Change-Id: Ifefa59bf9d06d4aa84c0a440d2458cc297a50ec2 --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 9dce5e498..e92a0a3fc 100644 --- a/tox.ini +++ b/tox.ini @@ -50,6 +50,7 @@ commands = {posargs} #set PYTHONHASHSEED=0 to prevent wsmeext.sphinxext from randomly failing. [testenv:docs] +basepython = python2.7 setenv = PYTHONHASHSEED=0 commands = python setup.py build_sphinx