mirror of
				https://github.com/python/cpython.git
				synced 2025-10-29 20:51:26 +00:00 
			
		
		
		
	GH-109209: Bump the minimum Sphinx version to 4.2 (#109210)
This commit is contained in:
		
							parent
							
								
									9ccf0545ef
								
							
						
					
					
						commit
						712cb173f8
					
				
					 4 changed files with 7 additions and 8 deletions
				
			
		
							
								
								
									
										2
									
								
								.github/workflows/reusable-docs.yml
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/reusable-docs.yml
									
										
									
									
										vendored
									
									
								
							|  | @ -74,7 +74,7 @@ jobs: | ||||||
|     - name: 'Set up Python' |     - name: 'Set up Python' | ||||||
|       uses: actions/setup-python@v4 |       uses: actions/setup-python@v4 | ||||||
|       with: |       with: | ||||||
|         python-version: '3.11'  # known to work with Sphinx 3.2 |         python-version: '3.11'  # known to work with Sphinx 4.2 | ||||||
|         cache: 'pip' |         cache: 'pip' | ||||||
|         cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt' |         cache-dependency-path: 'Doc/requirements-oldest-sphinx.txt' | ||||||
|     - name: 'Install build dependencies' |     - name: 'Install build dependencies' | ||||||
|  |  | ||||||
|  | @ -66,7 +66,7 @@ | ||||||
| highlight_language = 'python3' | highlight_language = 'python3' | ||||||
| 
 | 
 | ||||||
| # Minimum version of sphinx required | # Minimum version of sphinx required | ||||||
| needs_sphinx = '3.2' | needs_sphinx = '4.2' | ||||||
| 
 | 
 | ||||||
| # Ignore any .rst files in the includes/ directory; | # Ignore any .rst files in the includes/ directory; | ||||||
| # they're embedded in pages but not rendered individually. | # they're embedded in pages but not rendered individually. | ||||||
|  |  | ||||||
|  | @ -7,12 +7,10 @@ blurb | ||||||
| python-docs-theme>=2022.1 | python-docs-theme>=2022.1 | ||||||
| 
 | 
 | ||||||
| # Generated from: | # Generated from: | ||||||
| #     pip install "Sphinx~=3.2.0" "docutils<0.17" "Jinja2<3" "MarkupSafe<2" | #     pip install "Sphinx~=4.2.0" | ||||||
| #     pip freeze | #     pip freeze | ||||||
| # | # | ||||||
| # Sphinx 3.2 comes from ``needs_sphinx = '3.2'`` in ``Doc/conf.py``. | # Sphinx 4.2 comes from ``needs_sphinx = '4.2'`` in ``Doc/conf.py``. | ||||||
| # Docutils<0.17, Jinja2<3, and MarkupSafe<2 are additionally specified as |  | ||||||
| # Sphinx 3.2 is incompatible with newer releases of these packages. |  | ||||||
| 
 | 
 | ||||||
| alabaster==0.7.13 | alabaster==0.7.13 | ||||||
| Babel==2.12.1 | Babel==2.12.1 | ||||||
|  | @ -25,10 +23,10 @@ imagesize==1.4.1 | ||||||
| Jinja2==2.11.3 | Jinja2==2.11.3 | ||||||
| MarkupSafe==1.1.1 | MarkupSafe==1.1.1 | ||||||
| packaging==23.1 | packaging==23.1 | ||||||
| Pygments==2.15.1 | Pygments==2.16.1 | ||||||
| requests==2.31.0 | requests==2.31.0 | ||||||
| snowballstemmer==2.2.0 | snowballstemmer==2.2.0 | ||||||
| Sphinx==3.2.1 | Sphinx==4.2.0 | ||||||
| sphinxcontrib-applehelp==1.0.4 | sphinxcontrib-applehelp==1.0.4 | ||||||
| sphinxcontrib-devhelp==1.0.2 | sphinxcontrib-devhelp==1.0.2 | ||||||
| sphinxcontrib-htmlhelp==2.0.1 | sphinxcontrib-htmlhelp==2.0.1 | ||||||
|  |  | ||||||
|  | @ -0,0 +1 @@ | ||||||
|  | The minimum Sphinx version required for the documentation is now 4.2. | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Adam Turner
						Adam Turner