bpo-30380: Pin the version of Sphinx used to build the documentation … · python/cpython@fca224f

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