Browse Source

Reuse the docs deps to benefit from constraints

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

Change-Id: I5ed38a032fe4ac02a03791baf6ff7275688b8b68
changes/64/794364/1
likui 2 months ago
parent
commit
38aba340a8
  1. 4
      tox.ini

4
tox.ini

@ -43,7 +43,9 @@ commands =
coverage report --fail-under=95 --skip-covered
[testenv:docs]
deps = -r{toxinidir}/doc/requirements.txt
deps =
-c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/doc/requirements.txt
whitelist_externals = rm
commands =
rm -rf doc/build doc/source/reference/modules

Loading…
Cancel
Save