diff --git a/tox.ini b/tox.ini index 2cc7023..b7b67d8 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,9 @@ commands = bash -c 'if [ ! -d ./.testrepository ] ; then testr init ; fi' commands = flake8 [testenv:docs] -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 = sphinx-build -W -b html doc/source doc/build/html [testenv:venv] @@ -30,7 +32,9 @@ builtins = _ exclude=.venv,.git,.tox,*lib/python*,private,.eggs [testenv:releasenotes] -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 = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html [testenv:lower-constraints]