Skip to content

Commit 97eb2a7

Browse files
authored
[2.7] bpo-30380: Pin the version of Sphinx used to build the docs (GH-1612) (GH-1619)
1 parent 6924ed5 commit 97eb2a7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ matrix:
2828
- TESTING=docs
2929
before_script:
3030
- cd Doc
31-
- pip install -U Sphinx
31+
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
32+
# (Updating the version is fine as long as no warnings are raised by doing so.)
33+
- python -m pip install sphinx~=1.5.6
3234
script:
3335
- make check suspicious html SPHINXOPTS="-q -W"
3436

0 commit comments

Comments
 (0)