aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2021-09-28 14:17:04 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2021-09-28 15:13:17 +0200
commitd6b0c102715db7e1c6a38863b5bc0280a96832b0 (patch)
tree5606f73c3c58cffc201b1126c92177922891f1b1 /tox.ini
parent66d62e02e7bfeefbc727300a6dd2a02555a9a22a (diff)
Adds 2 upper-constraints to pin all the dependencies.
It modifies a little bit the official upper-constraints.txt from OpenStack due to Sphinx (4.2.0 as asked by lfdocs-conf vs 3.5.2) and due to setuptools (58.1.0 as used in ONAP gates vs 54.1.1). In a long run, docs/upper-constraints.os.txt should be removed once ONAP is synced with OpenStack. For it's part, docs/upper-constraints.onap.txt should be centralized for all ONAP projects and then removed from this particular project. It should be noted that lfdocs-conf still mismatches concrete and abstract deps. It removes tox and setuptools from requirements as nothing depends on them (most requirements should be removed except lfdocsconf) Issue-ID: DOC-765 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Iae808297484f4798de82a43597ccad7905ff4c94 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index ee2b4c008..0774a3c2f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -38,7 +38,10 @@ commands =
[testenv:rst]
commands_pre =
/bin/sh -c "git --no-pager diff HEAD HEAD^ --name-only '*.rst' > /tmp/.coalist_rst"
-deps = -r ./docs/requirements-docs.txt
+deps =
+ -r{toxinidir}/docs/requirements-docs.txt
+ -c{toxinidir}/docs/upper-constraints.os.txt
+ -c{toxinidir}/docs/upper-constraints.onap.txt
commands =
/bin/sh -c "sphinx-build -n -b html docs docs/build/html $(</tmp/.coalist_rst)"
/bin/sh -c "sphinx-build -n -b linkcheck docs docs/build/linkcheck $(</tmp/.coalist_rst)"