diff --git a/tox.ini b/tox.ini index e55a69c21..d01fd0587 100644 --- a/tox.ini +++ b/tox.ini @@ -18,6 +18,7 @@ setenv = VIRTUAL_ENV={envdir} OS_STDERR_CAPTURE=1 OS_TEST_TIMEOUT=60 deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/test-requirements.txt -r{toxinidir}/requirements.txt commands = @@ -29,10 +30,6 @@ setenv = {[testenv]setenv} OS_TEST_PATH=./zaqar/tests/functional commands = stestr run --serial --slowest {posargs} -[testenv:py{3,38,39,310,311}] -install_command = - python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} - [testenv:pep8] commands = doc8 doc/source @@ -60,9 +57,8 @@ commands = commands = {posargs} [testenv:docs] -install_command = - python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages} deps = + -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} -r{toxinidir}/requirements.txt -r{toxinidir}/doc/requirements.txt commands =