diff options
author | likui <likui@yovole.com> | 2020-11-17 19:52:34 +0800 |
---|---|---|
committer | likui <likui@yovole.com> | 2020-11-17 19:57:27 +0800 |
commit | 3cb72163aa6f303e0f3875912b0ddb34733f3e6d (patch) | |
tree | d291046fbcd2d98a089f0fe9189078eb7b220057 /tox.ini | |
parent | 4c7e759f24f6a73fef4dce84f716ad61f54e2e95 (diff) | |
download | ceilometer-3cb72163aa6f303e0f3875912b0ddb34733f3e6d.tar.gz |
Reuse the docs deps to benefit from constraints
Tox trying to install latest versions for building releasenotes,
which may not be supported by stable and lower branches,
so should be restricted by respective version's upper-constraints.txt
Change-Id: If0b3ecffaccff9512ec43b853a8a6eaa8088251e
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -36,7 +36,9 @@ commands = bash -c "find ceilometer -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null" [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 [testenv:genconfig] |