diff options
author | Elod Illes <elod.illes@est.tech> | 2022-04-28 17:17:47 +0200 |
---|---|---|
committer | Elod Illes <elod.illes@est.tech> | 2022-04-28 17:17:47 +0200 |
commit | 494e8d7db6f8a3d1a952f657acab353787f57e04 (patch) | |
tree | 4fa0b1f65044cb306cb89bf28fd0a89f6ec0c4e9 | |
parent | 5f5551448dcfcde26095963e223f973b90e6f637 (diff) | |
download | nova-494e8d7db6f8a3d1a952f657acab353787f57e04.tar.gz |
[CI] Install dependencies for docs target
When tox 'docs' target is called, first it installs the dependencies
(listed in 'deps') in 'installdeps' phase, then it installs nova (with
its requirements) in 'develop-inst' phase. In the latter case 'deps' is
not used so that the constraints defined in 'deps' are not used.
This could lead to failures on stable branches when new packages are
released that break the build. To avoid this, the simplest solution is
to pre-install requirements, i.e. add requirements.txt to 'docs' tox
target.
Change-Id: I4471d4488d336d5af0c23028724c4ce79d6a2031
-rw-r--r-- | tox.ini | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -228,6 +228,7 @@ description = # to install (test-)requirements.txt for docs. deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} + -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt extras = commands = |