René's URL Explorer Experiment


Title: Use the latest Sphinx version · Issue #125722 · python/cpython · GitHub

Open Graph Title: Use the latest Sphinx version · Issue #125722 · python/cpython

X Title: Use the latest Sphinx version · Issue #125722 · python/cpython

Description: Documentation Python's documentation uses the Sphinx toolchain. Originally written for the Python documentation, it is now developed and distributed as an independent project. The two remain closely linked, e.g. when new syntax is added ...

Open Graph Description: Documentation Python's documentation uses the Sphinx toolchain. Originally written for the Python documentation, it is now developed and distributed as an independent project. The two remain closel...

X Description: Documentation Python's documentation uses the Sphinx toolchain. Originally written for the Python documentation, it is now developed and distributed as an independent project. The two remain cl...

Opengraph URL: https://github.com/python/cpython/issues/125722

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Use the latest Sphinx version","articleBody":"# Documentation\r\n\r\nPython's documentation uses the Sphinx toolchain. Originally written for the Python documentation, it is now developed and distributed as an independent project. The two remain closely linked, e.g. when new syntax is added to the Python language. To document this syntax in the best way, Sphinx must support it and Python must require a version of Sphinx that supports the syntax.\r\n\r\nUsing the new syntax in PEP-695 as an example:\r\n\r\n1. The implementation was committed on 16 May (#103764)\r\n2. The first draft of the documentation was written on 19 May (#104642)\r\n3. A feature request was created in Sphinx on 23 May (https://github.com/sphinx-doc/sphinx/issues/11438)\r\n4. Sphinx added support on 23 July (https://github.com/sphinx-doc/sphinx/pull/11444)\r\n5. Sphinx published a release with support on 24 July ([v7.1.0](https://www.sphinx-doc.org/en/master/changes/7.1.html))\r\n7. The Python project can use those features, 19 October [+ 1 year] (#125368)\r\n\r\nThis is a ~two month window from implementation to support in a release of Sphinx. It took a further 15 months and two feature releases (3.12, 3.13) until these features can be used in Python. Due to this, our documentation is meaningfully worse for readers and programmers. Using older versions of Sphinx mean that we cannot succinctly cover the features and syntax that exist within released versions of Python.\r\n\r\nCore developers responsible for these features have [expressed](https://github.com/python/cpython/pull/104642#discussion_r1200799012) [interest](https://github.com/python/cpython/pull/123544#discussion_r1739933935), but have been hampered by our self-imposed restriction of the minimum version of Sphinx that we support.\r\n\r\nWe adopt these restrictions for the benefit of downstream Linux redistributors, as can be seen in the more recent issues in the summary table below. This has not always been the case. From the adoption of Sphinx in 2007 (8ec7f656134b1230ab23003a94ba3266d7064122 / 116aa62bf54a39697e25f21d6cf6799f7faa1349) until 2014 (f7b2f36f747179cf3dc7a889064f8979e3ad4dae), the latest source-tree checkout of Sphinx at https://svn.python.org/ was used. From then until ~2018 the minimum required Sphinx version (controlled by `needs_sphinx` in `conf.py`) tracked the latest release promptly. This has since ossified.\r\n\r\nIn a recent informal discussion, several committers supported the idea of removing or relaxing this restriction, allowing the Python documentation to use the latest version(s) of Sphinx. This is the context for this note, which for now **is a proposal**. The status quo will prevail if there is not sufficient support.\r\n\r\nAs a concrete suggestion, I propose that when evaulating increasing the minimum required version of Sphinx, we no longer consult downstream redistributors' Sphinx versions. The procedure will follow standard Python development processes in all other ways. I expect that the minimum version would be updated if and when a new Sphinx feature is of sufficient benefit to Python. This, though, may be a greater version than a downstream redistributor provides.\r\n\r\nWe would like to solicit views from representatives of downstream redistributors as to how (in)feasible this proposal would be. My understanding is that Fedora and SUSE have processes whereby a newer version of Sphinx can be used soley for the Python documentation. I do not know how this will impact Debian or Gentoo.\r\n\r\nThank you in advance for your consideration,\r\nAdam\r\n\r\n**Table of past changes to ``needs_sphinx``**\r\n\r\n| `needs_sphinx` | Issue     | PR / Commit                              | Latest Sphinx [^1] |\r\n| --             | --        | --                                       | --                 |\r\n| 7.2.6          | #125277   | #125368                                  | 8.1.3              |\r\n| 6.2.1          | #117928   | #121986                                  | 7.4.6              |\r\n| 4.2            | #109209   | #109210                                  | 7.2.6              |\r\n| 3.2            | #86986    | #93337                                   | 5.0.1              |\r\n| 1.8            | #80188    | #11887                                   | 1.8.4              | \r\n| 1.7            | [doc-sig] | #9423                                    | 1.8.1              | \r\n| 1.2            | #65630    | 90d76ca7657566825daf8e5b22ab011f70439769 | 1.2.3              | \r\n| 1.1            | #64860    | f7b2f36f747179cf3dc7a889064f8979e3ad4dae | 1.2.1              | \r\n\r\nPrevious discussion relating to the minumum version:\r\n\r\n* #84385\r\n* #87009\r\n* #104818 \r\n\r\ncc:\r\n\r\n* @doko42 @mitya57 / Debian\r\n* @hroncok / Fedora / RHEL\r\n* @mgorny / Gentoo\r\n* @danigm @mcepl / openSUSE\r\n* @AA-Turner @hugovk / CPython\r\n\r\n[^1]: At commit date.\r\n\r\n[doc-sig]: https://mail.python.org/pipermail/doc-sig/2018-September/004084.html\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-128922\n* gh-129037\n* gh-129038\n* gh-129039\n* gh-129041\n* gh-129042\n* gh-129277\n* gh-129278\n* gh-129279\n* gh-129306\n* gh-130444\n* gh-130858\n* gh-130859\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/AA-Turner","@type":"Person","name":"AA-Turner"},"datePublished":"2024-10-19T06:16:56.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/125722/cpython/issues/125722"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:52760a97-a118-0a42-aa0d-3b0b789ff65c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA8CA:247F51:FBD208:151C8BF:6969926B
html-safe-noncef587fdc4ebfe7fd02c9064ce35ab1640586aaedb70d90f941a440a4aff133c27
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOENBOjI0N0Y1MTpGQkQyMDg6MTUxQzhCRjo2OTY5OTI2QiIsInZpc2l0b3JfaWQiOiI0MDcxOTIwNTYyMjMxNDE1NDAzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacaa9caa1bf4eaa175aaaa84f6c3e2f8c43878fc25f385df22630927da20ea20fc
hovercard-subject-tagissue:2598802234
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/125722/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9c619029cb0a024268f4be777543bb87708a84b88d96cced758a3073ed5c303a/python/cpython/issues/125722
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9c619029cb0a024268f4be777543bb87708a84b88d96cced758a3073ed5c303a/python/cpython/issues/125722
og:image:altDocumentation Python's documentation uses the Sphinx toolchain. Originally written for the Python documentation, it is now developed and distributed as an independent project. The two remain closel...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAA-Turner
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/125722#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F125722
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F125722
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/125722
Reloadhttps://github.com/python/cpython/issues/125722
Reloadhttps://github.com/python/cpython/issues/125722
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/125722
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 33.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 71.1k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.1k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects 31 https://github.com/python/cpython/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/python/cpython/security
Please reload this pagehttps://github.com/python/cpython/issues/125722
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/125722
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/125722
Use the latest Sphinx versionhttps://github.com/python/cpython/issues/125722#top
docsDocumentation in the Doc dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22docs%22
https://github.com/AA-Turner
https://github.com/AA-Turner
AA-Turnerhttps://github.com/AA-Turner
on Oct 19, 2024https://github.com/python/cpython/issues/125722#issue-2598802234
PEP-695https://peps.python.org/695
gh-103763: Implement PEP 695 #103764https://github.com/python/cpython/pull/103764
gh-103921: Document PEP 695 #104642https://github.com/python/cpython/pull/104642
Support PEP 695 syntax for class definitions sphinx-doc/sphinx#11438https://github.com/sphinx-doc/sphinx/issues/11438
Support PEP 695 and PEP 696 syntax in py:function and py:class directives. sphinx-doc/sphinx#11444https://github.com/sphinx-doc/sphinx/pull/11444
v7.1.0https://www.sphinx-doc.org/en/master/changes/7.1.html
GH-125277: Increase minimum supported Sphinx to 7.2.6 #125368https://github.com/python/cpython/pull/125368
expressedhttps://github.com/python/cpython/pull/104642#discussion_r1200799012
interesthttps://github.com/python/cpython/pull/123544#discussion_r1739933935
8ec7f65https://github.com/python/cpython/commit/8ec7f656134b1230ab23003a94ba3266d7064122
116aa62https://github.com/python/cpython/commit/116aa62bf54a39697e25f21d6cf6799f7faa1349
f7b2f36https://github.com/python/cpython/commit/f7b2f36f747179cf3dc7a889064f8979e3ad4dae
https://svn.python.org/https://svn.python.org/
1https://github.com/python/cpython/issues/125722#user-content-fn-1-b0efcb76c1248d5d49605afcb969c721
#125277https://github.com/python/cpython/issues/125277
#125368https://github.com/python/cpython/pull/125368
#117928https://github.com/python/cpython/issues/117928
#121986https://github.com/python/cpython/pull/121986
#109209https://github.com/python/cpython/issues/109209
#109210https://github.com/python/cpython/pull/109210
#86986https://github.com/python/cpython/issues/86986
#93337https://github.com/python/cpython/pull/93337
#80188https://github.com/python/cpython/issues/80188
#11887https://github.com/python/cpython/pull/11887
doc-sighttps://mail.python.org/pipermail/doc-sig/2018-September/004084.html
#9423https://github.com/python/cpython/pull/9423
#65630https://github.com/python/cpython/issues/65630
90d76cahttps://github.com/python/cpython/commit/90d76ca7657566825daf8e5b22ab011f70439769
#64860https://github.com/python/cpython/issues/64860
f7b2f36https://github.com/python/cpython/commit/f7b2f36f747179cf3dc7a889064f8979e3ad4dae
Docs build error with Sphinx 3.0 due to invalid C declaration #84385https://github.com/python/cpython/issues/84385
What min_sphinx for Python 3.10 #87009https://github.com/python/cpython/issues/87009
Require Sphinx 6.2 to build Python 3.13 documentation #104818https://github.com/python/cpython/issues/104818
@doko42https://github.com/doko42
@mitya57https://github.com/mitya57
@hroncokhttps://github.com/hroncok
@mgornyhttps://github.com/mgorny
@danigmhttps://github.com/danigm
@mceplhttps://github.com/mcepl
@AA-Turnerhttps://github.com/AA-Turner
@hugovkhttps://github.com/hugovk
GH-125722: Increase minimum supported Sphinx to 8.1.3 #128922https://github.com/python/cpython/pull/128922
[3.13] GH-125722: Increase minimum supported Sphinx to 8.1.3 (GH-128922) #129037https://github.com/python/cpython/pull/129037
[3.12] GH-125722: Increase minimum supported Sphinx to 8.1.3 (GH-128922) #129038https://github.com/python/cpython/pull/129038
GH-125722: Use long options for Sphinx #129039https://github.com/python/cpython/pull/129039
[3.13] GH-125722: Use long options for Sphinx (GH-129039) #129041https://github.com/python/cpython/pull/129041
[3.12] GH-125722: Use long options for Sphinx (GH-129039) #129042https://github.com/python/cpython/pull/129042
GH-125722: Remove Sphinx patches #129277https://github.com/python/cpython/pull/129277
[3.13] GH-125722: Remove Sphinx patches (GH-129277) #129278https://github.com/python/cpython/pull/129278
[3.12] GH-125722: Remove Sphinx patches (GH-129277) #129279https://github.com/python/cpython/pull/129279
GH-121970: Remove pyspecific PyDecoratorMixin patches #129306https://github.com/python/cpython/pull/129306
GH-125722: Increase minimum supported Sphinx to 8.2.0 #130444https://github.com/python/cpython/pull/130444
[3.13] GH-125722: Increase minimum supported Sphinx to 8.2.0 (GH-130444) #130858https://github.com/python/cpython/pull/130858
[3.12] GH-125722: Increase minimum supported Sphinx to 8.2.0 (GH-130444) #130859https://github.com/python/cpython/pull/130859
https://github.com/python/cpython/issues/125722#user-content-fnref-1-b0efcb76c1248d5d49605afcb969c721
docsDocumentation in the Doc dirhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22docs%22
docs issueshttps://github.com/orgs/python/projects/52
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.