@@ -24,9 +24,8 @@ setenv =
24
24
# clue for oslo.db to use file-based database.
25
25
OS_TEST_DBAPI_ADMIN_CONNECTION =sqlite:////tmp/placeholder-never-created-nor-used.db
26
26
usedevelop = True
27
- install_command = pip install {opts} {packages}
28
- deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
29
- -r{toxinidir}/test-requirements.txt
27
+ install_command = python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby} {opts} {packages}
28
+ deps = -r{toxinidir}/test-requirements.txt
30
29
-r{toxinidir}/requirements.txt
31
30
commands =
32
31
find . -type f -name " *.pyc" -delete
@@ -91,7 +90,6 @@ commands =
91
90
# This environment is called from CI scripts to test and publish
92
91
# the API Ref to docs.openstack.org.
93
92
deps =
94
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
95
93
-r{toxinidir}/doc/requirements.txt
96
94
commands =
97
95
rm -rf api-ref/build
@@ -143,7 +141,6 @@ paths = ./glance/hacking
143
141
144
142
[testenv:docs]
145
143
deps =
146
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
147
144
-r{toxinidir}/doc/requirements.txt
148
145
commands =
149
146
rm -fr doc/build
@@ -158,7 +155,6 @@ commands = {posargs}
158
155
159
156
[testenv:releasenotes]
160
157
deps =
161
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/wallaby}
162
158
-r{toxinidir}/doc/requirements.txt
163
159
commands =
164
160
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
@@ -190,6 +186,7 @@ commands =
190
186
oslo_debug_helper {posargs}
191
187
192
188
[testenv:lower-constraints]
189
+ install_command = python -m pip install {opts} {packages}
193
190
deps =
194
191
-c{toxinidir}/lower-constraints.txt
195
192
-r{toxinidir}/test-requirements.txt
0 commit comments