Release checklist for maintainers#
Via GitHub Actions#
Update Changelog with version comparison links and detailed description
Update version and date in
Make a new release.
Inspect upload in TestPyPI.
Execute manual deploy workflow to download from TestPyPI, run tests and publish to PyPI.
Manual method (not recommended)#
For demonstration’s sake, we assume that the next version is
and the package name is
pip install nox
Ensure tests pass locally and on CI:
nox -s tests
nox -s docs
Commit changes and make an annotated tag:
git commit git tag -a $VERSION
Build and upload to TestPyPI:
nox -s testpypi
Download, test and upload to PyPI:
nox -s pypi
Upload to repository:
git push --follow-tags --atomic origin main