[2.7] bpo-30380: Pin the version of Sphinx used to build the docs (GH… · python/cpython@97eb2a7

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