release: prepare statgpu 0.2.3 - #86
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
There was a problem hiding this comment.
Pull request overview
Prepares the statgpu 0.2.3 release by updating version metadata, publishing synchronized changelog/release documentation, and adding/strengthening GitHub Actions automation to validate release notes, validate distributable artifacts, and publish a GitHub Release body from a version-controlled source after a successful PyPI upload.
Changes:
- Bump package version from
0.2.2to0.2.3and publish synchronized root/EN/CN changelog entries for the CoxPH Phase 1 completion release. - Add authoritative, versioned GitHub Release notes at
.github/releases/v0.2.3.mdplus a PR-time “release notes validation” gate. - Add PR-time “release package validation” (build + artifact checks + cross-OS wheel smoke installs) and harden the tag-triggered publish workflow to enforce version/release-note consistency and publish the GitHub Release from the versioned notes after PyPI succeeds.
Reviewed changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
statgpu/__init__.py |
Bumps __version__ to 0.2.3. |
pyproject.toml |
Bumps project.version to 0.2.3. |
CHANGELOG.md |
Converts to release-versioned entry and records 0.2.3 release notes summary. |
docs/en/changelog.md |
Publishes 0.2.3 English changelog entry. |
docs/cn/changelog.md |
Publishes 0.2.3 Chinese changelog entry. |
RELEASING.md |
Updates maintainer release process to make versioned GitHub Release notes authoritative and documents updated automation/verification steps. |
.github/releases/v0.2.3.md |
Adds the version-controlled GitHub Release body for v0.2.3 with required user-facing sections. |
.github/workflows/release-notes.yml |
Adds PR-time release-note completeness/consistency validation (version sync, required sections, placeholders, minimum length, etc.). |
.github/workflows/release-package.yml |
Adds PR-time packaging validation (build, twine check, artifact safety checks, sdist install, wheel smoke installs across OSes). |
.github/workflows/publish.yml |
Hardens tag-triggered publish flow: validates tag/version/release notes, smoke-installs wheel, uploads to PyPI, then creates/updates GitHub Release from versioned notes and attaches artifacts. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Prepare the next PyPI and GitHub release as
statgpu 0.2.3after merging PR #80.Changes
project.versionandstatgpu.__version__from0.2.2to0.2.3;.github/releases/v0.2.3.md, covering highlights, affected APIs, installation and platform support, validation, upgrade notes, known limitations, and full change-history links;f05a44ad...schema-3 artifact and checksum;.github/releases/v0.2.3.mdand attaches the same wheel and sdist;RELEASING.mdto make versioned GitHub Release notes authoritative and document the complete publication and failure-recovery procedure.Why
The v0.2.2 release PR updated changelogs and version metadata but did not store a dedicated GitHub Release body in the repository. That left the final GitHub Release description dependent on manual editing or an automatically generated PR list, which did not adequately communicate the release. Version 0.2.3 now has a reviewed, version-controlled source of truth and an automated publication path.
PR #80 materially expands the public survival-analysis API and therefore requires release notes that explain user-visible capabilities and limitations rather than merely listing commits or internal validation work.
Validation expected on this PR
Testsworkflow: docs contracts, static contracts, full CPU suite, and Python 3.9–3.12 regression matrix;Release notes validationworkflow:.github/releases/v0.2.3.mdexistence and matching title;Release package validationworkflow:STATGPU_NO_EXT=1 python -m build;twine check;statgpu-0.2.3-py3-none-any.whlandstatgpu-0.2.3.tar.gznames;LinearRegressionfit/predict smoke test and public Cox imports.After merge
PYPI_TOKENremains valid and project-scoped.v0.2.3..github/releases/v0.2.3.mdand attaches the same artifacts.pip install --no-cache-dir statgpu==0.2.3and confirm the GitHub Release body matches the versioned notes file.This PR does not publish by itself; publication remains gated on the explicit
v0.2.3tag.