summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorwu.shiming <wushiming@yovole.com>2020-10-09 10:42:27 +0800
committerwu.shiming <wushiming@yovole.com>2020-10-09 10:48:00 +0800
commita748b173a004c0a42dda124de07c336fe6161a48 (patch)
treec594b279dd1ade1d9f0f35bfd3a0fb82b51607df /tox.ini
parent76d373b1e6e08db23210516acee6480f4e6c7f35 (diff)
downloadceilometer-a748b173a004c0a42dda124de07c336fe6161a48.tar.gz
Dep's should be restricted by upper-constraints
Tox trying to install latest versions for building docs which may not be supported by stable and lower branches, so should be restricted by respective version's upper-constraints.txt Change-Id: Ica00ee97b12cc3074fbc6394923ed82309fe7466
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 2e79a80c..9c6477c8 100644
--- a/tox.ini
+++ b/tox.ini
@@ -44,7 +44,9 @@ commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasen
commands = oslo-config-generator --config-file=etc/ceilometer/ceilometer-config-generator.conf
[testenv:docs]
-deps = -r{toxinidir}/doc/requirements.txt
+deps =
+ -c{env:UPPER_CONSTRAINTS_FILE:https://releases.openstack.org/constraints/upper/master}
+ -r{toxinidir}/doc/requirements.txt
commands = sphinx-build -b html doc/source doc/build/html
setenv = PYTHONHASHSEED=0