]> review.fuel-infra Code Review - puppet-modules/puppet-ceilometer.git/commitdiff
Stop configuring install_command in tox.
authorTakashi Kajinami <tkajinam@redhat.com>
Wed, 29 Sep 2021 08:58:57 +0000 (17:58 +0900)
committerTakashi Kajinami <tkajinam@redhat.com>
Wed, 29 Sep 2021 09:04:20 +0000 (18:04 +0900)
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: Ibb01a28bc7369b18416354c8aa363780f7841094
Co-Authored-By: tushargite96 <tushargite96@gmail.com>
tox.ini

diff --git a/tox.ini b/tox.ini
index 90eea2ed4daad0b12b48505ca247f8371138f65e..5bf76d2365c09626c27ff6404b8d2f736b3ac4b3 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -6,8 +6,8 @@ ignore_basepython_conflict = True
 
 [testenv]
 basepython = python3
-install_command = pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master} {opts} {packages}
 
 [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