Verify Python package version number changes via GitHub action #430
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Main Change
Adds the PR validation branch of the sequence diagram found on 2026-01-28 / CODING SESH 💻. This is a GitHub action that runs whenever an
__about.py__orpyproject.tomlfile gets changed.What the action does do
What the action does not do
$ make checkand$ make check-versionsinMakefile.Why we want this
The purpose of this GitHub Actions workflow is to give us confidence that we are catching invalid version numbers, including attempts to re-publish to an existing version number, at the stage when the PR is drafted, rather than finding out later when it has been merged and our (soon to be written) publish automation kicks in.
† For now, the PyPI repository is the Overture-run one. Later, when we're ready to release, we'll point ourselves at public PyPI.
Ancillary Changes
$ make checkvalidation on commit push tomainanddevbranches, not just on PR.Testing
Tested as much as possible locally, but ultimately we have to run it on GitHub to ensure the actions work right.