Skip to content

chore: name the PyPI project links the way PyPI expects - #721

Merged
shenxianpeng merged 3 commits into
mainfrom
chore/pypi-project-links
Nov 20, 2026
Merged

shenxianpeng merged 3 commits into
mainfrom
chore/pypi-project-links

Conversation

@shenxianpeng

@shenxianpeng shenxianpeng commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

PyPI shows [project.urls] keys as they are written, so the sidebar read source, tracker, documentation in lower case. This uses the capitalized labels from the packaging guide (Documentation, Changelog, Source, Issues), and adds the changelog link.

PyPI reads these from the uploaded package, so the sidebar changes with the next release.

Before / after

before and after

The built wheel's metadata now carries:

Project-URL: Documentation, https://commit-check.com/
Project-URL: Changelog, https://commit-check.com/changelog/
Project-URL: Source, https://github.com/commit-check/commit-check
Project-URL: Issues, https://github.com/commit-check/commit-check/issues

Summary by CodeRabbit

  • Documentation
    • Updated the project’s published links to use standard labels for documentation, source code, and issue reporting.
    • Added a link to the changelog.

@shenxianpeng
shenxianpeng requested a review from a team as a code owner November 20, 2026 07:13
@github-actions github-actions Bot added the chore label Nov 20, 2026
@coderabbitai

coderabbitai Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The project URL metadata now uses the standard Documentation, Changelog, Source, and Issues keys. It adds a changelog URL and replaces the previous source and tracker keys.

Changes: Project URL Metadata

Layer / File(s) Summary
Update project URL metadata
pyproject.toml
The project URL metadata adds a changelog link and replaces the lowercase documentation, source, and tracker keys with Documentation, Source, and Issues.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Other

Suggested reviewers: invictustitan2

Merge Risk: Minimal · up to a408b

This updates the project link labels on PyPI and adds a working Changelog link. It does not change runtime behavior, so there is no merge-readiness risk.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title says the PyPI project links are renamed to match PyPI's expected naming. The raw summary confirms the pyproject.toml [project.urls] keys were changed to Documentation, Changelog, Source, and…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Full details: Title check

Explanation

The title says the PyPI project links are renamed to match PyPI's expected naming. The raw summary confirms the pyproject.toml [project.urls] keys were changed to Documentation, Changelog, Source, and Issues, with the changelog link added and the lowercase documentation, source, and tracker keys replaced. The PR objectives show the same before and after link labels. The title names the main change and is specific, so it passes.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 54dd8907-be8a-47a7-8d08-fd557a37b927
Commits

Reviewing files that changed from the base of the PR and between 3dce116 and a408b2a.

Files selected for processing: 1

  • pyproject.toml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@sonarqubecloud

Copy link
Copy Markdown

@codecov

codecov Bot commented Nov 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (3dce116) to head (a408b2a).

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #721   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           16        16           
  Lines         3074      3074           
  Branches       608       608           
=========================================
  Hits          3074      3074           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@shenxianpeng
shenxianpeng merged commit 029bf06 into main Nov 20, 2026
34 checks passed
@shenxianpeng
shenxianpeng deleted the chore/pypi-project-links branch November 20, 2026 07:26
@codspeed

codspeed Bot commented Nov 20, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

1 warning

⚠️ 134 benchmarks are dominated by system calls

System calls cannot be simulated consistently and are left out of the measure. The reported value understates the real cost. Switch to the Walltime instrument to measure them.

Learn more about system calls

See affected benchmarks

✅ 685 untouched benchmarks
⏩ 131 skipped benchmarks1


Comparing chore/pypi-project-links (a408b2a) with main (e40dc50)2

Open in CodSpeed

Footnotes

  1. 131 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

  2. No successful run was found on main (3dce116) during the generation of this report, so e40dc50 was used instead as the comparison base. There might be some changes unrelated to this pull request in this report. ↩

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant