Skip to content

Commit 7760695

Browse files
authored
bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612) (GH-1618)
1 parent 083f13e commit 7760695

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,11 @@ matrix:
3737
- TESTING=docs
3838
before_script:
3939
- cd Doc
40-
- make venv
40+
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
41+
# (Updating the version is fine as long as no warnings are raised by doing so.)
42+
- python -m pip install sphinx~=1.6.1
4143
script:
42-
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
44+
- make check suspicious html SPHINXOPTS="-q -W"
4345
- os: linux
4446
language: c
4547
compiler: gcc

0 commit comments

Comments
 (0)