tox: Build docs with Python 2.7

On systems that use Python 3 as default, the 'docs' target fails due to
a non-Python 3 dependency (feedformatter, required by yasfb). It's not
even clear if yasbf is still relevant, given the uselessness of the
content published online [1]. However, it's easier to just build the
docs with Python 2 than go on a wild goose chase looking for more info.

[1] http://specs.openstack.org/openstack/nova-specs/rss.xml

Change-Id: I129f635bc2d060f9da9bfc8b43652be7c10e9200
This commit is contained in:
Stephen Finucane 2017-03-15 11:52:28 +00:00
parent adae1b4154
commit d1e06027bc
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ commands =
commands = {posargs}
[testenv:docs]
basepython = python2.7
commands =
find . -type f -name "*.pyc" -delete
python setup.py build_sphinx