Skip to content

Conversation

rowanbudge
Copy link
Contributor

@rowanbudge rowanbudge commented Sep 22, 2025

For gh-101100 - Fix all Sphinx reference warnings in the documentation #101100

Fix some of the issues in whatsnew/2.6.rst

Part of sprints at PyConUK 25


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

@python-cla-bot
Copy link

python-cla-bot bot commented Sep 22, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

@bedevere-app bedevere-app bot added awaiting review docs Documentation in the Doc dir skip news labels Sep 22, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Sep 22, 2025
@rowanbudge rowanbudge changed the title Ignore future_builtins gh-101100 : Fix Sphinx reference warnings in whatsnew/2.6.rst Sep 22, 2025
@rowanbudge rowanbudge changed the title gh-101100 : Fix Sphinx reference warnings in whatsnew/2.6.rst gh-101100: Fix Sphinx reference warnings in whatsnew/2.6.rst Sep 22, 2025
@hugovk
Copy link
Member

hugovk commented Sep 22, 2025

@rowanbudge Looks like the CLA bot still needs appeasing. Please can you check it's signed with the same email address mentioned in the comment?

@rowanvil
Copy link
Contributor

@rowanbudge Looks like the CLA bot still needs appeasing. Please can you check it's signed with the same email address mentioned in the comment?

I think this is done now, not sure when the github accounts got switched sorry!

and :meth:`close`.
* :class:`~io.RawIOBase` defines raw I/O operations: :meth:`~io.RawIOBase.read`,
:meth:`~io.RawIOBase.readinto`,
:meth:`~io.RawIOBase.write`, :meth:`~io.IOBase.seek`, :meth:`~io.IOBase.tell`, :meth:`~io.IOBase.truncate`,
Copy link
Member

Choose a reason for hiding this comment

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

Please wrap lines to 79 characters.

Copy link
Contributor

Choose a reason for hiding this comment

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

I've wrapped at 79 lines in all the places already edited by this PR that I could spot

Copy link
Member

Choose a reason for hiding this comment

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

Thanks, however, it introduced a lot of trailing white space causing the lint CI to fail.

Copy link
Contributor

Choose a reason for hiding this comment

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

Yep aware and working on it

Copy link
Contributor

Choose a reason for hiding this comment

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

Checks now pass

Copy link
Member

Choose a reason for hiding this comment

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

On the other hand, rewrapping all edits makes it harder to review the actual changes in the diff, so it's a balance. (There's some discussion in python/devguide#1018.)

No need to unwrap though.

Also please avoid force-pushing -- everything gets squashed into a single commit at the end, and separate commits are easier to review. Thanks!

now with pre-commit check to remove whitespace
@rowanbudge rowanbudge force-pushed the fix-sphinx-warnings-in-whatsnew-2.6 branch from b57ba9e to 3c94412 Compare September 23, 2025 16:16
Hopefully also resolve Block quote ends without a blank line; unexpected unindent.
Copy link
Member

@hugovk hugovk left a comment

Choose a reason for hiding this comment

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

Thank you!

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Sprint 2024 Oct 1, 2025
@AA-Turner AA-Turner changed the title gh-101100: Fix Sphinx reference warnings in whatsnew/2.6.rst gh-101100: Fix some Sphinx reference warnings in whatsnew/2.6.rst Oct 4, 2025
Copy link
Member

@AA-Turner AA-Turner left a comment

Choose a reason for hiding this comment

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

Is this PR intended to resolve all warnings in the file? It's OK if not, just trying to get a sense of intended scope for the review.

A

@hugovk
Copy link
Member

hugovk commented Oct 4, 2025

No, not all, just one sprint day's worth :)

We can fix the rest in future PRs.

@AA-Turner AA-Turner added needs backport to 3.13 bugs and security fixes needs backport to 3.14 bugs and security fixes labels Oct 4, 2025
@AA-Turner AA-Turner enabled auto-merge (squash) October 4, 2025 15:53
@AA-Turner AA-Turner merged commit 04a2f80 into python:main Oct 4, 2025
31 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Sprint 2024 Oct 4, 2025
@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Oct 4, 2025
@miss-islington-app
Copy link

Thanks @rowanbudge for the PR, and @AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 4, 2025
….rst`` (pythonGH-139236)

(cherry picked from commit 04a2f80)

Co-authored-by: rowanbudge <[email protected]>
Co-authored-by: rowanvil <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 4, 2025
….rst`` (pythonGH-139236)

(cherry picked from commit 04a2f80)

Co-authored-by: rowanbudge <[email protected]>
Co-authored-by: rowanvil <[email protected]>
Co-authored-by: Adam Turner <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Oct 4, 2025

GH-139568 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Oct 4, 2025
@bedevere-app
Copy link

bedevere-app bot commented Oct 4, 2025

GH-139569 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 4, 2025
@AA-Turner
Copy link
Member

Thanks for this PR @rowanbudge and congratulations on your first contribution!

A

danigm pushed a commit to openSUSE-Python/cpython that referenced this pull request Oct 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news sprint
Projects
Status: Done
Status: Done
Development

Successfully merging this pull request may close these issues.

5 participants