From b05e996ae55233235fa6feb73ddfb9f3c86958d2 Mon Sep 17 00:00:00 2001 From: melanie witt Date: Thu, 1 Dec 2016 22:04:48 +0000 Subject: [PATCH] Always use python2.7 for docs target The docs testenv doesn't work with python 3.x on our codebase. If someone is on a platform that defaults to python => python3, building docs will fail for them. Closes-Bug: #1646629 Change-Id: I56f3933e89e6fe9e181517325e2d7af5110c5656 --- tox.ini | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tox.ini b/tox.ini index 57c41ed1f411..a4188cfa2903 100644 --- a/tox.ini +++ b/tox.ini @@ -88,6 +88,9 @@ commands = commands = {posargs} [testenv:docs] +# TODO(melwitt): This can be removed when the docs target can be run +# with python 3.x +basepython = python2.7 commands = rm -rf doc/source/api doc/build api-guide/build api-ref/build python setup.py build_sphinx