build: migrate releases to Release Please - #309
Open
krowvin wants to merge 6 commits into
Open
Conversation
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.



Replaces manually tagged releases and automatic TestPyPI uploads with the Release Please flow used by cwms-cli. Merging normal changes prepares a version/changelog PR; merging that PR creates the tag and GitHub release, tests and builds that exact tag, publishes to PyPI, and uploads signed distributions.
The advisory title reminder supports scopes and breaking changes, corrects the copyable examples from cwms-cli, and updates/removes only its own bot comment. CONTRIBUTING.md and README explain releases, squash commit subjects, TestPyPI retirement, setup, and recovery.
Validation:
Integration failure investigation (run 34293478795):
test_store_multi_timeseries_chunks_dfand the subsequenttest_get_multi_timeseries_chunk_df.ORA-20998: ERROR: ORA-06512: at "CWMS_20.CWMS_TS", line 2459. The readback is incomplete: 4608, 576, or 1344 rows instead of 5952, depending on the job. The later read test fails because it uses those partially written series.store_multi_timeseries_dfcatches the inner chunk-storage exception and only prints it, so the test reaches its row-count assertion rather than stopping at the write failure. That behavior predates this PR.Maintainer setup: retain the existing PyPI trusted publisher for
pypi-deploy.yml/ environmentrelease, allow default-branch deployments if the environment restricts branches, and allow Actions to create PRs. I could not read the repository Actions permission setting (403). The docs explain how to trigger missing release-PR checks when using GITHUB_TOKEN. The new release workflow and title reminder require merging before they can be exercised on the default branch.