Removing deprecated functions from readthedocs 24/11724/4
authorczichy <thoralf.czichy@nokia.com>
Fri, 1 Sep 2023 06:24:01 +0000 (09:24 +0300)
committerczichy <thoralf.czichy@nokia.com>
Fri, 1 Sep 2023 08:18:45 +0000 (11:18 +0300)
Change-Id: I45a7a35d6880cc916e38ca1feeb4096d2806c68b
Signed-off-by: czichy <thoralf.czichy@nokia.com>
.readthedocs.yaml
tox.ini

index 3797dc8..864f935 100644 (file)
@@ -9,10 +9,11 @@ formats:
   - htmlzip
 
 build:
   - htmlzip
 
 build:
-  image: latest
+  os: "ubuntu-22.04"
+  tools: 
+    python: "3.7"
 
 python:
 
 python:
-  version: 3.7
   install:
     - requirements: docs/requirements-docs.txt
 
   install:
     - requirements: docs/requirements-docs.txt
 
diff --git a/tox.ini b/tox.ini
index db50ddf..75c19da 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -14,13 +14,14 @@ deps =
     sphinxcontrib-httpdomain
     recommonmark
     lfdocs-conf
     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"
 
     
 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]
 basepython = python3
 
 [testenv:docs-linkcheck]
 basepython = python3
@@ -29,4 +30,5 @@ deps = sphinx
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
        sphinxcontrib-httpdomain
        recommonmark
        lfdocs-conf
+       urllib3~=1.26.15
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck
 commands = sphinx-build -W -b linkcheck -d {envtmpdir}/doctrees ./docs/ {toxinidir}/docs/_build/linkcheck