From ad97de009b57db5bc6aa858dad588c76661e18cf Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Wed, 30 Aug 2017 16:33:02 +0200 Subject: [PATCH] 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 --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 3c368ecdd3..502ddc99f8 100644 --- a/tox.ini +++ b/tox.ini @@ -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