]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Pin sphinx version to 1.2 in tests.
authorBen Darnell <ben@bendarnell.com>
Mon, 20 Jan 2014 16:57:16 +0000 (11:57 -0500)
committerBen Darnell <ben@bendarnell.com>
Mon, 20 Jan 2014 16:57:16 +0000 (11:57 -0500)
Sphinx 1.2.1 has a bug that breaks our build:
https://bitbucket.org/birkenfeld/sphinx/pull-request/212/fix-an-exception-introduced-by/diff

.travis.yml
tox.ini

index b298ebd995936680311a9d46fac80944ea99347b..fbeef8db5ef0720cc8fce11d47b075bfad373a0a 100644 (file)
@@ -15,7 +15,7 @@ install:
     # always install unittest2 on py26 even if $DEPS is unset
     - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install --use-mirrors unittest2; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 2* && $DEPS == true ]]; then pip install --use-mirrors futures mock pycares 'pycurl<7.19.3' twisted Monotime==1.0; fi
-    - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then pip install --use-mirrors sphinx; fi
+    - if [[ $TRAVIS_PYTHON_VERSION == '2.7' && $DEPS == true ]]; then pip install --use-mirrors sphinx==1.2; fi
     - if [[ $TRAVIS_PYTHON_VERSION == 'pypy' && $DEPS == true ]]; then pip install --use-mirrors futures mock; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.2' && $DEPS == true ]]; then pip install --use-mirrors pycares mock; fi
     - if [[ $TRAVIS_PYTHON_VERSION == '3.3' && $DEPS == true ]]; then pip install --use-mirrors pycares; fi
diff --git a/tox.ini b/tox.ini
index abf1756eeca0a4b1aad5b48569a9d37601ee8d4a..92fbcabdd9de36146bb426a94b33add69de80ba9 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -218,6 +218,6 @@ setenv = LANG=en_US.utf-8
 [testenv:py2-docs]
 basepython = python2.7
 changedir = docs
-deps = sphinx
+deps = sphinx==1.2
 commands =
     sphinx-build -q -E -n -W -b html . {envtmpdir}/html