Fix docs gate
[tox]
minversion = 2.0
-envlist = py37,pep8
+envlist = py37,py36,pep8
skipsdist = True
+ignore_basepython_conflict = True
[testenv]
basepython = python3
@@ -46,13 +47,20 @@ deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt
-commands = sphinx-build -W -b html doc/source doc/build/html
+commands =
+#(TODO) remove this when wsme lastest version released.
+#https://review.opendev.org/#/c/649267/
+ pip install https://tarballs.opendev.org/openstack/wsme/wsme-master.tar.gz
+ sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]
deps = {[testenv:docs]deps}
whitelist_externals =
make
commands =
+#(TODO) remove this when wsme lastest version released.
+#https://review.opendev.org/#/c/649267/
+ pip install https://tarballs.opendev.org/openstack/wsme/wsme-master.tar.gz
sphinx-build -W -b latex doc/source doc/build/pdf
make -C doc/build/pdf
