Fix: Pin urllib3 and add allowlist_externals 20/11120/1
authorAnil Belur <abelur@linuxfoundation.org>
Wed, 17 May 2023 03:01:10 +0000 (13:01 +1000)
committerAnil Belur <abelur@linuxfoundation.org>
Wed, 17 May 2023 03:02:45 +0000 (13:02 +1000)
- Pin urllib3 in the tox dependencies
- allowlist_externals for echo

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

diff --git a/tox.ini b/tox.ini
index c86cfdf..fb0dba6 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,7 +14,8 @@ 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"
@@ -27,4 +28,5 @@ 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