summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-07-09 09:29:58 +0000
committerGerrit Code Review <review@openstack.org>2022-07-09 09:29:58 +0000
commit8cd65e91789af4ff01dff16c67c1901f208f66fe (patch)
tree9b6c85d7f47c9fb30a51db1527d4d19826c3ea3e
parent968e5e17548977aa1d2bd0dd0f4301f0b928161b (diff)
parente1a66af4a894b83f27f90eef0826398445b4df97 (diff)
downloadglance-8cd65e91789af4ff01dff16c67c1901f208f66fe.tar.gz
Merge "[CI] Add upper constraints to install command" into stable/xena
-rw-r--r--tox.ini8
1 files changed, 2 insertions, 6 deletions
diff --git a/tox.ini b/tox.ini
index 36b23b97b..af3860425 100644
--- a/tox.ini
+++ b/tox.ini
@@ -24,9 +24,8 @@ setenv =
# clue for oslo.db to use file-based database.
OS_TEST_DBAPI_ADMIN_CONNECTION=sqlite:////tmp/placeholder-never-created-nor-used.db
usedevelop = True
-install_command = pip install {opts} {packages}
-deps = -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
- -r{toxinidir}/test-requirements.txt
+install_command = python -m pip install -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena} {opts} {packages}
+deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
find . -type f -name "*.pyc" -delete
@@ -97,7 +96,6 @@ commands =
# This environment is called from CI scripts to test and publish
# the API Ref to docs.openstack.org.
deps =
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/doc/requirements.txt
commands =
rm -rf api-ref/build
@@ -149,7 +147,6 @@ paths = ./glance/hacking
[testenv:docs]
deps =
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/doc/requirements.txt
commands =
rm -fr doc/build
@@ -164,7 +161,6 @@ commands = {posargs}
[testenv:releasenotes]
deps =
- -c{env:TOX_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/xena}
-r{toxinidir}/doc/requirements.txt
commands =
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html