]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bump Sphinx to 2.2.0. (GH-16532)
authorJulien Palard <julien@palard.fr>
Tue, 22 Oct 2019 16:13:41 +0000 (18:13 +0200)
committerGitHub <noreply@github.com>
Tue, 22 Oct 2019 16:13:41 +0000 (18:13 +0200)
.azure-pipelines/docs-steps.yml
.travis.yml
Doc/Makefile
Doc/requirements.txt
Mac/BuildScript/build-installer.py

index 96361961ea75ebf72538f66db1a548e827258836..eaf4ad01927aebae1ca46c2b5a95107b4d2b91db 100644 (file)
@@ -12,7 +12,7 @@ steps:
   inputs:
     versionSpec: '>=3.6'
 
-- script: python -m pip install sphinx==2.0.1 blurb python-docs-theme
+- script: python -m pip install sphinx==2.2.0 blurb python-docs-theme
   displayName: 'Install build dependencies'
 
 - ${{ if ne(parameters.latex, 'true') }}:
@@ -21,7 +21,7 @@ steps:
     displayName: 'Build documentation'
 
 - ${{ if eq(parameters.latex, 'true') }}:
-  - script: sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full 
+  - script: sudo apt-get update && sudo apt-get install -qy --force-yes texlive-full
     displayName: 'Install LaTeX'
 
   - script: make dist PYTHON=python SPHINXBUILD='python -m sphinx' BLURB='python -m blurb'
index d4275fde64243809a449bf1848cd4fc660e95665..807a7b2f24a12cdf502848942e814a6b72c1da86 100644 (file)
@@ -55,7 +55,7 @@ matrix:
         # Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
         # (Updating the version is fine as long as no warnings are raised by doing so.)
         # The theme used by the docs is stored separately, so we need to install that as well.
-        - python -m pip install sphinx==2.0.1 blurb python-docs-theme
+        - python -m pip install sphinx==2.2.0 blurb python-docs-theme
       script:
         - make check suspicious html SPHINXOPTS="-q -W -j4"
     - name: "Documentation tests"
index 86207fe57a0f696f4b8a60a68d16600204ac96b1..05361f2ee2c82f07b4ecf1450528f03a2c694513 100644 (file)
@@ -143,7 +143,7 @@ clean:
 venv:
        $(PYTHON) -m venv $(VENVDIR)
        $(VENVDIR)/bin/python3 -m pip install -U pip setuptools
-       $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.0.1 blurb python-docs-theme
+       $(VENVDIR)/bin/python3 -m pip install -U Sphinx==2.2.0 blurb python-docs-theme
        @echo "The venv has been created in the $(VENVDIR) directory"
 
 dist:
index e0d7ca869af8c0e25cb99d0512ada4d9ca3007a2..198446b350ff2d36ac385c85e3435cf3e7703b70 100644 (file)
@@ -1,5 +1,5 @@
 # Requirements for docs build on netlify
 # Pin sphinx to version specified in .travis.yml
-sphinx==2.0.1
+sphinx==2.2.0
 blurb
 python-docs-theme
index 0dd53647dd33e3f8e0c0ccf322fd82b98e875aea..3d1381b895b2f66c97277f9beb42045b85f2cee7 100755 (executable)
@@ -1068,7 +1068,7 @@ def buildPythonDocs():
     runCommand('make clean')
     # Create virtual environment for docs builds with blurb and sphinx
     runCommand('make venv')
-    runCommand('venv/bin/python3 -m pip install -U Sphinx==2.0.1')
+    runCommand('venv/bin/python3 -m pip install -U Sphinx==2.2.0')
     runCommand('make html PYTHON=venv/bin/python')
     os.chdir(curDir)
     if not os.path.exists(docdir):