Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-101100: Fix Sphinx warnings for removed dead batteries#113669

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

hugovk
Copy link
Member

@hugovkhugovk commentedJan 2, 2024
edited by github-actionsbot
Loading

Fix 58 warnings for modules removed byPEP 594: "Removing dead batteries from the standard library":

Doc/whatsnew/2.0.rst:1098: WARNING: py:mod reference target not found: linuxaudiodevDoc/whatsnew/2.0.rst:1098: WARNING: py:mod reference target not found: sunaudiodevDoc/whatsnew/2.4.rst:998: WARNING: py:mod reference target not found: asyncoreDoc/whatsnew/2.6.rst:1792: WARNING: py:mod reference target not found: asyncoreDoc/whatsnew/2.6.rst:1792: WARNING: py:mod reference target not found: asynchatDoc/whatsnew/2.6.rst:2927: WARNING: py:mod reference target not found: audiodevDoc/whatsnew/2.6.rst:2927: WARNING: py:mod reference target not found: linuxaudiodevDoc/whatsnew/2.6.rst:2927: WARNING: py:mod reference target not found: sunaudiodevDoc/whatsnew/3.11.rst:1750: WARNING: py:mod reference target not found: asynchatDoc/whatsnew/3.11.rst:1750: WARNING: py:mod reference target not found: asyncoreDoc/whatsnew/3.11.rst:1750: WARNING: py:mod reference target not found: smtpdDoc/whatsnew/3.11.rst:1880: WARNING: py:mod reference target not found: asynchatDoc/whatsnew/3.11.rst:1881: WARNING: py:mod reference target not found: asyncoreDoc/whatsnew/3.11.rst:2010: WARNING: py:mod reference target not found: smtpdDoc/whatsnew/3.2.rst:1861: WARNING: py:class reference target not found: asyncore.dispatcherDoc/whatsnew/3.2.rst:1861: WARNING: py:meth reference target not found: asyncore.dispatcher.handle_acceptedDoc/whatsnew/3.2.rst:1861: WARNING: py:meth reference target not found: asyncore.dispatcher.handle_acceptDoc/whatsnew/3.2.rst:1861: WARNING: py:meth reference target not found: asyncore.dispatcher.acceptDoc/whatsnew/3.2.rst:2740: WARNING: py:func reference target not found: asyncore.handle_acceptDoc/whatsnew/3.2.rst:2740: WARNING: py:func reference target not found: asyncore.handle_acceptedDoc/whatsnew/3.3.rst:1848: WARNING: py:mod reference target not found: smtpdDoc/whatsnew/3.4.rst:1372: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.4.rst:1372: WARNING: py:class reference target not found: smtpd.SMTPChannelDoc/whatsnew/3.4.rst:1372: WARNING: py:class reference target not found: asynchat.async_chatDoc/whatsnew/3.4.rst:2373: WARNING: py:attr reference target not found: cgi.FieldStorage.fileDoc/whatsnew/3.5.rst:881: WARNING: py:class reference target not found: cgi.FieldStorageDoc/whatsnew/3.5.rst:1666: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.5.rst:1666: WARNING: py:class reference target not found: smtpd.SMTPChannelDoc/whatsnew/3.5.rst:1666: WARNING: py:meth reference target not found: smtpd.SMTPServer.process_messageDoc/whatsnew/3.5.rst:1677: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.5.rst:1677: WARNING: py:meth reference target not found: smtpd.SMTPServer.process_messageDoc/whatsnew/3.5.rst:1684: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.5.rst:1684: WARNING: py:meth reference target not found: smtpd.SMTPServer.process_messageDoc/whatsnew/3.5.rst:1692: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.5.rst:1717: WARNING: py:func reference target not found: sndhdr.whatDoc/whatsnew/3.5.rst:1717: WARNING: py:func reference target not found: sndhdr.whathdrDoc/whatsnew/3.5.rst:2299: WARNING: py:mod reference target not found: smtpdDoc/whatsnew/3.5.rst:2299: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.6.rst:1964: WARNING: py:mod reference target not found: asynchatDoc/whatsnew/3.6.rst:1971: WARNING: py:mod reference target not found: asyncoreDoc/whatsnew/3.6.rst:2187: WARNING: py:mod reference target not found: smtpdDoc/whatsnew/3.6.rst:2222: WARNING: py:class reference target not found: smtpd.SMTPChannelDoc/whatsnew/3.6.rst:2222: WARNING: py:class reference target not found: smtpd.SMTPServerDoc/whatsnew/3.6.rst:2222: WARNING: py:meth reference target not found: smtpd.SMTPServer.process_messageDoc/whatsnew/3.7.rst:2307: WARNING: py:func reference target not found: cgi.parse_multipartDoc/whatsnew/3.9.rst:934: WARNING: py:func reference target not found: smtpd.MailmanProxybuild/NEWS:6679: WARNING: py:mod reference target not found: asyncorebuild/NEWS:6679: WARNING: py:mod reference target not found: asynchatbuild/NEWS:8169: WARNING: py:mod reference target not found: smtpdbuild/NEWS:10143: WARNING: py:mod reference target not found: asynchatbuild/NEWS:10143: WARNING: py:mod reference target not found: asyncorebuild/NEWS:10143: WARNING: py:mod reference target not found: smtpdbuild/NEWS:10362: WARNING: py:mod reference target not found: asyncorebuild/NEWS:13815: WARNING: py:class reference target not found: smtpd.MailmanProxybuild/NEWS:18404: WARNING: py:obj reference target not found: cgi.parse_multipartbuild/NEWS:25609: WARNING: py:obj reference target not found: cryptbuild/NEWS:25609: WARNING: py:obj reference target not found: crypt_r()build/NEWS:25609: WARNING: py:obj reference target not found: crypt()

These removals began in 3.12, and the bulk were in 3.13. So some need backporting to 3.12, and we don't need to backport to 3.11.


📚 Documentation preview 📚:https://cpython-previews--113669.org.readthedocs.build/

Copy link
Member

@AlexWaygoodAlexWaygood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks good, just a couple of suggestions to fix some adjacent warnings while we're here:

@hugovk
Copy link
MemberAuthor

hugovk commentedJan 3, 2024
edited
Loading

Thanks, these 10 also now fixed:

/Users/hugo/github/python/cpython/main/Doc/whatsnew/2.4.rst:998: WARNING: py:func reference target not found: loop/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.10.rst:1280: WARNING: py:meth reference target not found: pathlib.Path.link_to/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.10.rst:1743: WARNING: py:meth reference target not found: pathlib.Path.link_to/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.10.rst:1774: WARNING: 'envvar' reference target not found: PYTHONTHREADDEBUG/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.11.rst:1905: WARNING: py:meth reference target not found: pathlib.Path.link_to/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.11.rst:1908: WARNING: 'envvar' reference target not found: PYTHONTHREADDEBUG/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.7.rst:2307: WARNING: py:class reference target not found: FieldStorage/Users/hugo/github/python/cpython/main/Doc/whatsnew/3.8.rst:1089: WARNING: py:meth reference target not found: pathlib.Path.link_to/Users/hugo/github/python/cpython/main/build/NEWS:13070: WARNING: 'envvar' reference target not found: PYTHONTHREADDEBUG/Users/hugo/github/python/cpython/main/build/NEWS:23944: WARNING: py:obj reference target not found: pathlib.path.link_to()

Edit: include that extra one :)

AlexWaygood reacted with rocket emoji

Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
@hugovkhugovkenabled auto-merge (squash)January 3, 2024 12:58
@hugovkhugovk merged commitfab7ad6 intopython:mainJan 3, 2024
@hugovkhugovk deleted the docs-fix-sphinx-warnings-dead-batteries branchJanuary 3, 2024 13:04
@miss-islington-app
Copy link

Thanks@hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app
Copy link

Sorry,@hugovk, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker fab7ad62ceca1f88767bca4e1f06f8e4b1faef2f 3.12

@bedevere-app
Copy link

GH-113681 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelJan 3, 2024
hugovk added a commit to hugovk/cpython that referenced this pull requestJan 3, 2024
pythonGH-113669)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>.(cherry picked from commitfab7ad6)Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
hugovk added a commit that referenced this pull requestJan 3, 2024
…113669) (#113681)Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>.Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
kulikjak pushed a commit to kulikjak/cpython that referenced this pull requestJan 22, 2024
aisk pushed a commit to aisk/cpython that referenced this pull requestFeb 11, 2024
Glyphack pushed a commit to Glyphack/cpython that referenced this pull requestSep 2, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@AlexWaygoodAlexWaygoodAlexWaygood approved these changes

Assignees

@hugovkhugovk

Labels
docsDocumentation in the Doc dirskip news
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@hugovk@AlexWaygood

[8]ページ先頭

©2009-2025 Movatter.jp