Stop configuring install_command in tox.

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

Change-Id: I767bc9517c9d2da0e9753146bc4f2dc8dd657776
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
This commit is contained in:
Takashi Kajinami 2021-09-29 18:01:09 +09:00
parent e90f6e452c
commit 94cd0b2d9e

View File

@ -6,8 +6,8 @@ ignore_basepython_conflict = True
[testenv] [testenv]
basepython = python3 basepython = python3
install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
[testenv:releasenotes] [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 commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html