diff --git a/tox.ini b/tox.ini index 9ee9ccf..47de0f0 100644 --- a/tox.ini +++ b/tox.ini @@ -45,7 +45,9 @@ commands = flake8 commands = {posargs} [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 --keep-going -b html doc/source doc/build/html [testenv:pdf-docs]