Removing deprecated functions from readthedocs

Change-Id: Ibe6f35f41816ef0a81f21d164d2cb324570515c6
Signed-off-by: czichy <thoralf.czichy@nokia.com>
diff --git a/tox.ini b/tox.ini
index 8a8d0a4..92341f9 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