Stop overriding install_command

... because upper constraints can be defined by the deps option.

Change-Id: I723774c6370ed46ad4777d57025d659978572e6f
This commit is contained in:
Takashi Kajinami 2024-04-07 00:08:48 +09:00
parent 639c48a6b5
commit 75c32dc34f

View File

@ -18,6 +18,7 @@ setenv = VIRTUAL_ENV={envdir}
OS_STDERR_CAPTURE=1 OS_STDERR_CAPTURE=1
OS_TEST_TIMEOUT=60 OS_TEST_TIMEOUT=60
deps = deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/test-requirements.txt -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
commands = commands =
@ -29,10 +30,6 @@ setenv = {[testenv]setenv}
OS_TEST_PATH=./zaqar/tests/functional OS_TEST_PATH=./zaqar/tests/functional
commands = stestr run --serial --slowest {posargs} 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] [testenv:pep8]
commands = commands =
doc8 doc/source doc8 doc/source
@ -60,9 +57,8 @@ commands =
commands = {posargs} commands = {posargs}
[testenv:docs] [testenv:docs]
install_command =
python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
deps = deps =
-c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
-r{toxinidir}/requirements.txt -r{toxinidir}/requirements.txt
-r{toxinidir}/doc/requirements.txt -r{toxinidir}/doc/requirements.txt
commands = commands =