summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authoryatinkarel <ykarel@redhat.com>2022-04-28 20:17:54 +0530
committeryatinkarel <ykarel@redhat.com>2022-04-28 20:21:32 +0530
commitf15baf16dd18969efb94719798f5d4a731b0c4fd (patch)
tree33da9148e5411f563627eed353999a247dd1403f /tox.ini
parent6db61d070483df60ffbf992d57cef2c1903fe355 (diff)
downloadneutron-f15baf16dd18969efb94719798f5d4a731b0c4fd.tar.gz
Docs build: Add requirements.txt to deps
Since we use usedevelop=True, as a result neutron installation happens at 'develop-inst' phase and it installs requirements from requirements.txt without considering tox constraints, This can lead to issue where broken requirements are installed in docs job and as a result it will fail. In order to get constraints be considered for this case, add requirements.txt to deps for docs env. Change-Id: Ic8f6472fe708d12f8fc129729465367083e1095a
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini1
1 files changed, 1 insertions, 0 deletions
diff --git a/tox.ini b/tox.ini
index 76a2a05f66..c0a6f2c547 100644
--- a/tox.ini
+++ b/tox.ini
@@ -142,6 +142,7 @@ envdir = {toxworkdir}/docs
deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
+ -r{toxinidir}/requirements.txt
commands = sphinx-build -W -b html doc/source doc/build/html
[testenv:pdf-docs]