Skip to content

Check newly added links in PR linkcheck runs#2067

Open
Himanshuagrawal4 wants to merge 1 commit into
pypa:mainfrom
Himanshuagrawal4:PRO/packaging-linkcheck-new-links
Open

Check newly added links in PR linkcheck runs#2067
Himanshuagrawal4 wants to merge 1 commit into
pypa:mainfrom
Himanshuagrawal4:PRO/packaging-linkcheck-new-links

Conversation

@Himanshuagrawal4

@Himanshuagrawal4 Himanshuagrawal4 commented Jun 8, 2026

Copy link
Copy Markdown

Summary

  • Allow source/conf.py to read a linkcheck JSONL baseline and ignore previously reported URLs.
  • Restore the cached baseline for PR linkcheck runs so newly added links remain checked.
  • Save the latest baseline from successful main-branch linkcheck runs.

Closes #2037

Validation

  • git diff --check
  • python -m py_compile source/conf.py
  • Parsed .github/workflows/test.yml with PyYAML
  • Ran a small JSONL parsing smoke test for the baseline ignore logic

Note: full nox/actionlint checks were not run locally because those tools are not installed here.


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

@Himanshuagrawal4 Himanshuagrawal4 marked this pull request as ready for review June 8, 2026 08:10
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