Bypass the dep management issues in lfdocs-conf 65/72065/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 17 Feb 2021 16:17:24 +0000 (17:17 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 17 Feb 2021 16:18:48 +0000 (17:18 +0100)
It can only work for python3.

Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: Ie7b2706f9d4dbfbb2cdca85c0543894c79634246

tox.ini

diff --git a/tox.ini b/tox.ini
index 69aa189..840ce6a 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,6 +6,7 @@ envlist =
 skipsdist = true
 
 [testenv:docs]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
@@ -13,5 +14,6 @@ commands =
 whitelist_externals = echo
 
 [testenv:docs-linkcheck]
+basepython = python3
 deps = -rdocs/requirements.txt
 commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck