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
This commit is contained in:
3
tox.ini
3
tox.ini
@@ -88,6 +88,9 @@ commands =
|
|||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
|
||||||
[testenv:docs]
|
[testenv:docs]
|
||||||
|
# TODO(melwitt): This can be removed when the docs target can be run
|
||||||
|
# with python 3.x
|
||||||
|
basepython = python2.7
|
||||||
commands =
|
commands =
|
||||||
rm -rf doc/source/api doc/build api-guide/build api-ref/build
|
rm -rf doc/source/api doc/build api-guide/build api-ref/build
|
||||||
python setup.py build_sphinx
|
python setup.py build_sphinx
|
||||||
|
|||||||
Reference in New Issue
Block a user