summaryrefslogtreecommitdiffstats
path: root/docs/tox.ini
diff options
context:
space:
mode:
authorAndreas Geissler <andreas-geissler@telekom.de>2021-10-21 10:21:45 +0000
committerCédric Ollivier <cedric.ollivier@orange.com>2021-10-21 14:16:56 +0200
commit27ea9f88c408b1b73aab0028f05ba6742247ca90 (patch)
tree8db5dbf2431559658490d6f37c92759f34a6d476 /docs/tox.ini
parent85551e9cf61a90d8930ddd082ef93600e80cf0e6 (diff)
Leverage upper-constraints files to pin all dependencies
It leverages the latest change from lfdocs-conf and the upper-constraints.txt now centralized in ONAP docs. In a long run, upperconstraints.os.txt should be removed once ONAP is synced with OpenStack. 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: Andreas Geissler <andreas-geissler@telekom.de> Change-Id: I0e017b8ffaeaa6626d3196b6442f87a500263457 (cherry picked from commit 995fa60569d369153b6829ca607e87159338d657)
Diffstat (limited to 'docs/tox.ini')
-rw-r--r--docs/tox.ini5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/tox.ini b/docs/tox.ini
index edac8c35..42ffa687 100644
--- a/docs/tox.ini
+++ b/docs/tox.ini
@@ -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
+ -chttps://git.onap.org/doc/plain/etc/upper-constraints.onap.txt
commands =
sphinx-build -b html -n -d {envtmpdir}/doctrees ./ {toxinidir}/_build/html
echo "Generated docs available in {toxinidir}/_build/html"