Force py3.8 in tox.ini 55/130555/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 31 Aug 2022 19:17:16 +0000 (21:17 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 31 Aug 2022 19:17:16 +0000 (21:17 +0200)
It allows leveraging on OpenStack Yoga's upper-contraints
without any exception.

Issue-ID: DOC-782

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

docs/tox.ini

index 4e9449e..c329a7e 100644 (file)
@@ -4,9 +4,9 @@ envlist = docs,
 skipsdist = true
 
 [testenv:docs]
-basepython = python3
+basepython = python3.8
 deps = -r{toxinidir}/requirements-docs.txt
-       -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+       -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
        -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
@@ -17,9 +17,9 @@ whitelist_externals =
     sh
 
 [testenv:docs-linkcheck]
-basepython = python3
+basepython = python3.8
 deps = -r{toxinidir}/requirements-docs.txt
-       -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt
+       -chttps://raw.githubusercontent.com/openstack/requirements/stable/yoga/upper-constraints.txt
        -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
 commands = echo "Link Checking not enforced"
 #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck