Skip to content

feat: suggest wheel releases in compare comments - #389

Merged
patrickballard merged 4 commits into
wheelgap:mainfrom
Golden007-prog:feat/380-compare-comment-suggestions
Nov 15, 2026
Merged

patrickballard merged 4 commits into
wheelgap:mainfrom
Golden007-prog:feat/380-compare-comment-suggestions

Conversation

@Golden007-prog

Copy link
Copy Markdown
Contributor

Closes #380

What this changes

The compare-to Action adds the existing release suggestions below each regressed package in the pull request comment. It checks the targets where wheels were lost and keeps the wheels the current release still provides when finding an upgrade.

Lookups use the origin checks on both lockfiles and run only for packages eligible for a PyPI lookup. Lookup failures leave the comparison and exit status intact. The comment still uses the existing marker to update in place.

OpenAI Codex assisted with implementation and test development.

Validation

  • Offline regression tests cover upgrade suggestions, older pins, private origins, failed lookups, and both comment posting and updates.
  • Ruff formatting and lint, mypy, and strict MkDocs passed.
  • Linux Python 3.14 full test suite passed with 3,958 tests and 3 skips.

@patrickballard

Copy link
Copy Markdown
Collaborator

Thanks @Golden007-prog! From a first read this looks good overall: limiting lookups to packages known to come from PyPI, and never letting a failed lookup or a tight comment budget change the comparison itself, is the careful way to do it. #380 is a help wanted issue and this also changes action.yml, so Patrick will review and merge this one himself.

(Review assisted by Claude.)

# Conflicts:
#	CHANGELOG.md
@patrickballard
patrickballard merged commit 41f8b13 into wheelgap:main Nov 15, 2026
13 checks passed
@patrickballard

Copy link
Copy Markdown
Collaborator

Merged, thanks @Golden007-prog! The comment now tells a reviewer how to get the wheel back, not just that it's gone. I added the CHANGELOG line and merged main in. If you'd like another, wheelgap/tracker#74 is open and nobody has taken it: make the tracker's package pages answer "will pip install X work here?" for the whole tree, with --deps.

(Comment assisted by Claude.)

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.

Action comment: add --suggest's way out under each package that got worse

2 participants