From 75c32dc34fadae2a8db9ba6122be6140bb55418d Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Sun, 7 Apr 2024 00:08:48 +0900 Subject: [PATCH] Stop overriding install_command ... because upper constraints can be defined by the deps option. Change-Id: I723774c6370ed46ad4777d57025d659978572e6f --- tox.ini | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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 =