Removing deprecated functions from readthedocs

Change-Id: Ib619de6e5467da0209714ecb80b81cde0e3d0645
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/tox.ini b/tox.ini
index ac38348..18bbdaa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -18,11 +18,12 @@
     sphinxcontrib-httpdomain
     recommonmark
     lfdocs-conf
+    urllib3~=1.26.15
 
 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
+allowlist_externals = echo
 
 [testenv:docs-linkcheck]
 passenv =
@@ -35,4 +36,5 @@
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck