Build docs with Python 2 for now

When Python 3.6 is used by default (the case for F26), the build fails:
TypeError: '<' not supported between instances of 'NoneType' and 'str'

It is reported as bug 1714025, let's use Python 2 until it's fixed.

Change-Id: I8c2ba5b587b2919a22ff1d0f078c511d90de0f91
Related-Bug: #1714025
This commit is contained in:
Dmitry Tantsur 2017-08-30 16:33:02 +02:00
parent 9daabbbb05
commit ad97de009b
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@ commands =
commands = oslo_debug_helper -t ironic/tests/unit {posargs}
[testenv:docs]
# FIXME(dtantsur): workaround for bug #1714025
basepython = python2
setenv = PYTHONHASHSEED=0
sitepackages = False
envdir = {toxworkdir}/venv