From 7aff4bb511d5d12808ce37a97ccf362d846def50 Mon Sep 17 00:00:00 2001 From: Mariatta Date: Tue, 16 May 2017 13:48:25 -0700 Subject: [PATCH] bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 36961e38790a4d..0ed93bd2ca0443 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" + - make check suspicious html SPHINXOPTS="-q -W" - os: linux language: c compiler: clang