[2.7] bpo-30380: Pin the version of Sphinx used to build the docs (GH… · python/cpython@97eb2a7 (original) (raw)
Navigation Menu
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 97eb2a7
File tree
1 file changed
lines changed
1 file changed
lines changed
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -28,7 +28,9 @@ matrix: | ||
28 | 28 | - TESTING=docs |
29 | 29 | before_script: |
30 | 30 | - 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 | |
32 | 34 | script: |
33 | 35 | - make check suspicious html SPHINXOPTS="-q -W" |
34 | 36 |