]> granicus.if.org Git - python/commitdiff
[2.7] bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1619)
authorBrett Cannon <brettcannon@users.noreply.github.com>
Tue, 16 May 2017 21:41:00 +0000 (14:41 -0700)
committerGitHub <noreply@github.com>
Tue, 16 May 2017 21:41:00 +0000 (14:41 -0700)
.travis.yml

index 16fd0251091fd38eb93e5ed117f2da359c00df09..0bc552a621cfe103672b7b012d5389fd1933b669 100644 (file)
@@ -28,7 +28,9 @@ matrix:
         - TESTING=docs
       before_script:
         - cd Doc
-        - pip install -U Sphinx
+        # Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
+        # (Updating the version is fine as long as no warnings are raised by doing so.)
+        - python -m pip install sphinx~=1.5.6
       script:
         - make check suspicious html SPHINXOPTS="-q -W"