Force py3.8 in tox.ini 60/130560/1
authorCédric Ollivier <cedric.ollivier@orange.com>
Wed, 31 Aug 2022 19:27:40 +0000 (21:27 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Wed, 31 Aug 2022 19:27:40 +0000 (21:27 +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: I1f54f46eb177bc1f5a4362e8effe1c4f132810c4

docs/tox.ini

index 7c0973c..edc90fd 100644 (file)
@@ -4,10 +4,10 @@ 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
 whitelist_externals =
     echo
@@ -16,7 +16,7 @@ commands =
     echo "Generated docs available in {toxinidir}/_build/html"
 
 [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