From: Brett Cannon Date: Tue, 16 May 2017 21:40:33 +0000 (-0700) Subject: bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) (GH... X-Git-Tag: v3.5.4rc1~147 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=77606957e71ce477d2c5569718f0fc36f05c6f59;p=python bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) (GH-1618) --- diff --git a/.travis.yml b/.travis.yml index 5fee6cd767..fe90bad626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -37,9 +37,11 @@ matrix: - TESTING=docs before_script: - cd Doc - - make venv + # 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.6.1 script: - - make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W" + - make check suspicious html SPHINXOPTS="-q -W" - os: linux language: c compiler: gcc