- Merge all intended and verified pull requests into the
masterbranch. - Create a local build and test:
- Run
uv run noxfile.py -s buildto create a source distribution and a wheel. - Install both artifacts in a fresh virtual environment to ensure they work correctly.
- Run
- Bump the version number in
setup.py. (May be included in the pull request.) - Update the changelog in
CHANGES.rst. - Add new contributors to the
CONTRIBUTORS.rstfile. - Update the release date in
CHANGES.rst. - Ensure the latest build passes on GitHub Actions.
- Rebuild the documentation and check that it looks correct.
- Create a new release on GitHub: - Use the version number as the tag. - Include the changelog in the release notes.
- Ensure the release is published.
- Test the release by installing it in a fresh virtual environment.