Dep's should be restricted by upper-constraints

Tox trying to install latest versions for building docs which may
not be supported by stable and lower branches, so should be
restricted by respective version's upper-constraints.txt

Change-Id: I2cb297069e203bb6f4bc49576e86ae5e12cae33a
This commit is contained in:
zhoulinhui 2020-09-09 23:36:47 +08:00
parent a37a4a1c02
commit a83177ad58
1 changed files with 2 additions and 2 deletions

View File

@ -30,8 +30,8 @@ commands = {posargs}
# This environment is called from CI scripts to test and publish
# the API Ref and Docs to docs.openstack.org.
whitelist_externals = rm
deps =
-r{toxinidir}/doc/requirements.txt
deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf doc/build
sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html