summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2021-05-25 11:01:01 -0700
committerTim Burke <tim.burke@gmail.com>2021-05-25 12:20:23 -0700
commitabda44a87dd2bdee23edd69d78df7259017162d9 (patch)
tree5ca9f3be66c276f125dad56535cf42250eb0a0e6 /tox.ini
parent38c435f88833869c0d0121a6e7e2c16ac1a7e3be (diff)
downloadpython-swiftclient-abda44a87dd2bdee23edd69d78df7259017162d9.tar.gz
Use upper-constraints for docs jobs
Looks like there are some issues with too-new-Sphinx and the PDF docs builds. Also, get devstack installing on bionic again for our py2 func test job. Change-Id: I633398054694fe6ba1e0de50278f274daf69fefd
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 4 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 10e7b8d..287a244 100644
--- a/tox.ini
+++ b/tox.ini
@@ -65,7 +65,8 @@ commands = {[testenv:func]commands}
[testenv:docs]
basepython = python3
usedevelop = False
-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 -W -b html doc/source doc/build/html -W
@@ -99,7 +100,8 @@ commands = bindep test
[testenv:releasenotes]
basepython = python3
usedevelop = False
-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 -W -E -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:pdf-docs]