Fix: Pin urllib3 and add allowlist_externals 37/11437/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 21 Jun 2023 12:12:59 +0000 (22:12 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 21 Jun 2023 12:20:03 +0000 (22:20 +1000)
- Pin urllib3 in the tox dependencies
- allowlist_externals for echo

Issue-id: https://jira.linuxfoundation.org/browse/IT-25550
Change-Id: Id6a42faf0af153439a676844d5a084b7ce13c2d7
Signed-off-by: Anil Belur <abelur@linuxfoundation.org>
tox.ini

diff --git a/tox.ini b/tox.ini
index e3e8423..89cc65f 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,11 +14,12 @@ 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
@@ -27,6 +28,7 @@ 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
 
 [testenv:clm]