Add bounds to sphinx requirement 56/128456/1 istanbul
authorCédric Ollivier <cedric.ollivier@orange.com>
Mon, 11 Apr 2022 14:28:46 +0000 (16:28 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Mon, 11 Apr 2022 14:34:48 +0000 (16:34 +0200)
As ONAP was created before Oct 20 2020 in RTD, we
must set bounds to enforce a compatible Sphinx version
(see manual).

It also applied fixes which were applied during the
previous release in all repos.

Issue-ID: DOC-782
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Change-Id: I684efed16ac46552bfaa989ded2a4515ee6cc6a0
(cherry picked from commit 2264544baa8d38930d60524c806cd32c1e7ac045)

docs/requirements-docs.txt
docs/tox.ini

index 0680dad..3b3441a 100644 (file)
@@ -1,16 +1,3 @@
-tox
-Sphinx>=2,<4
-doc8
-docutils
-setuptools
-six
-sphinx_rtd_theme>=0.4.3
-sphinxcontrib-blockdiag
-sphinxcontrib-needs>=0.2.3
-sphinxcontrib-nwdiag
-sphinxcontrib-seqdiag
-sphinxcontrib-swaggerdoc
-sphinxcontrib-plantuml
-sphinx_bootstrap_theme
 lfdocs-conf
-sphinx-tabs
\ No newline at end of file
+sphinx>=4.2.0  # BSD
+sphinx-rtd-theme>=1.0.0  # MIT
index edac8c3..f51210e 100644 (file)
@@ -5,7 +5,10 @@ skipsdist = true
 
 [testenv:docs]
 basepython = python3
-deps = -r{toxinidir}/requirements-docs.txt
+deps =
+    -r{toxinidir}/requirements-docs.txt
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
 commands =
     sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
     echo "Generated docs available in {toxinidir}/_build/html"
@@ -16,7 +19,10 @@ whitelist_externals =
 
 [testenv:docs-linkcheck]
 basepython = python3
-#deps = -r{toxinidir}/requirements-docs.txt
+deps =
+    -r{toxinidir}/requirements-docs.txt
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.os.txt?h=istanbul
+    -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt?h=istanbul
 commands = echo "Link Checking not enforced"
 #commands = sphinx-build -b linkcheck -d {envtmpdir}/doctrees ./ {toxinidir}/_build/linkcheck
 whitelist_externals = echo