Repository: libcloud
Updated Branches:
  refs/heads/trunk 34d2f0a61 -> a119e3968


tox: Pin sphinx to 1.6

The 1.7 version adds many new warnings that we treat as errors.


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/a119e396
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/a119e396
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/a119e396

Branch: refs/heads/trunk
Commit: a119e396814bf12b7d5631f1f2d97a43c63020a5
Parents: 34d2f0a
Author: Quentin Pradet <[email protected]>
Authored: Sat Feb 24 14:22:25 2018 +0400
Committer: Quentin Pradet <[email protected]>
Committed: Sat Feb 24 19:03:55 2018 +0400

----------------------------------------------------------------------
 tox.ini | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/a119e396/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 83ba212..e55d322 100644
--- a/tox.ini
+++ b/tox.ini
@@ -27,13 +27,13 @@ commands = cp libcloud/test/secrets.py-dist 
libcloud/test/secrets.py
            python -m unittest discover libcloud/test
 
 [testenv:docs]
-deps = sphinx
-       pysphere
+deps = pysphere
        backports.ssl_match_hostname
        lockfile
        rstcheck
 changedir = docs
-commands = rstcheck --report warning ../CHANGES.rst
+commands = pip install sphinx~=1.6.0
+           rstcheck --report warning ../CHANGES.rst
            python ../contrib/generate_provider_feature_matrix_table.py
            sphinx-apidoc -d 4 ../libcloud/ -o apidocs/
            /bin/bash -c "ls apidocs/modules.rst && (grep orphan 
apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
@@ -42,13 +42,13 @@ commands = rstcheck --report warning ../CHANGES.rst
 [testenv:docs-travis]
 # Note: We don't build API docs on Travis since it causes build failures 
because
 # those API docs files are not included anywhere.
-deps = sphinx
-       pysphere
+deps = pysphere
        backports.ssl_match_hostname
        lockfile
        rstcheck
 changedir = docs
-commands = rstcheck --report warning ../CHANGES.rst
+commands = pip install sphinx~=1.6.0
+           rstcheck --report warning ../CHANGES.rst
            python ../contrib/generate_provider_feature_matrix_table.py
            /bin/bash -c "ls apidocs/modules.rst && (grep orphan 
apidocs/modules.rst || sed -i '1i :orphan:\n' apidocs/modules.rst) || (exit 0)"
            sphinx-build -W -b html -d {envtmpdir}/doctrees . _build/html

Reply via email to