Release Guide
Steps to make an h5py release:
Have a look for any open issues or PRs which we might want to solve/merge before the release.
Prepare a new branch, e.g.
git switch -c prepare-3.14Prepare the release notes. The goal is to describe changes visible to users & repackagers of h5py in a form that doesn’t assume ‘internal’ development knowledge. If something breaks, or behaviour changes unexpectedly, the release notes should let someone make a good guess which change is involved.
Check for recent merged PRs with no milestone, and assign them to the current release milestone. We can ignore PRs which only touch CI with no consequences for users.
Go to the milestone page. If there are open issues/PRs there, decide whether to include or defer them.
Assemble the release notes in
docs/whatsnewbased on the list of merged PRs. Commit the changes.
Update the version number & commit the changes. The files that need changing are:
pyproject.tomlh5py/version.pydocs/conf.py
Push the branch, open a PR, wait for the CI. Check the RTD build for the newly added release notes (formatting & cross-links). Optionally, wait for other maintainers to check it as well.
When everything looks good, merge the PR.
Checkout the master branch, pull, make and push the tag, which will cause CI to build sdist, wheels & make a GitHub release:
git switch master git pull git tag 3.14.0 # <-- change this git push --tags
Check that the release is correctly published to PyPI after the tag-triggered CI job completes.
- Close the GitHub milestone for this release and open one for the next
version.