Skip to content

Commit fca224f

Browse files
Mariattabrettcannon
authored andcommitted
bpo-30380: Pin the version of Sphinx used to build the documentation (GH-1612)
1 parent d97b7dc commit fca224f

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
@@ -38,9 +38,11 @@ matrix:
3838
- TESTING=docs
3939
before_script:
4040
- cd Doc
41-
- make venv
41+
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
42+
# (Updating the version is fine as long as no warnings are raised by doing so.)
43+
- python -m pip install sphinx~=1.6.1
4244
script:
43-
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
45+
- make check suspicious html SPHINXOPTS="-q -W"
4446
- os: linux
4547
language: c
4648
compiler: gcc

0 commit comments

Comments
 (0)