Skip to content

Check newly added links in PRs - #2135

Open
navya-exe wants to merge 2 commits into
pypa:mainfrom
navya-exe:linkcheck-new-links
Open

navya-exe wants to merge 2 commits into
pypa:mainfrom
navya-exe:linkcheck-new-links

Conversation

@navya-exe

@navya-exe navya-exe commented Sep 21, 2026 •

Copy link
Copy Markdown

Fixes #2037

This changes the linkcheck setup so that, during pull requests and merge queues, links that already existed in the base revision are ignored.

A cached linkcheck baseline from the base revision is restored before linkcheck runs, while the baseline is updated from the main branch.

This allows PR linkcheck to focus on newly added links.

Local validation:

  • python -m compileall source/conf.py
  • python -m nox -s linkcheck
  • python -m nox -s build
  • YAML validation
  • git diff --check

📚 Documentation preview 📚: https://python-packaging-user-guide--2135.org.readthedocs.build/en/2135/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Linkcheck for newly add links in PRs

1 participant