Fix: tox config error 41/11241/1
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 30 May 2023 07:21:44 +0000 (17:21 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Tue, 30 May 2023 07:22:57 +0000 (17:22 +1000)
This requires pining urllib3<2.0.0 in tox.ini

Change-Id: I7e46ff3ad376f42ee075391ce5b7322896e0b946
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
tox.ini

diff --git a/tox.ini b/tox.ini
index e8cc560..a041612 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -37,11 +37,11 @@ deps =
     sphinxcontrib-httpdomain
     recommonmark
     lfdocs-conf
-  
+    urllib3~=1.26.15
+allowlist_externals = echo
 commands =
     sphinx-build -W -b html -n -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/html
     echo "Generated docs available in {toxinidir}/docs/_build/html"
-whitelist_externals = echo
 
 [testenv:docs-linkcheck]
 basepython = python3
@@ -50,5 +50,6 @@ deps = sphinx
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck