From c234d6330e018bb9b518ed73b4b2bfc96e555a30 Mon Sep 17 00:00:00 2001 From: MC Date: Tue, 26 Jun 2018 11:27:08 +0200 Subject: [PATCH] Force python2 for documentation generation Due to the Sphinx module of pecanwsme, which is not python3 compatible, we need to force the usage of python2 for the documentation generation. A future patch will remove the usage of pecanwsme completely. This commit will be reverted at the same time. Change-Id: Icaa8047d9d15cb75a75bbb04336e5f9d2fefcbe0 --- tox.ini | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index d423c2be..82575f50 100644 --- a/tox.ini +++ b/tox.ini @@ -43,7 +43,8 @@ basepython = python3 commands = oslopolicy-sample-generator --config-file=etc/oslo-policy-generator/cloudkitty.conf [testenv:docs] -basepython = python3 +# TODO: switch back to python3 after removing wsme from the api +basepython = python2 commands = python setup.py build_sphinx [testenv:venv]