Hacking¶
Release process¶
Checkout main tip.
Check to make sure
setup.py
and requirements files have correct versions of requirements.Check dev dependencies using
make checkrot
.Update version numbers in
src/everett/__init__.py
.Set
__version__
to something like1.0.0
(use semver).Set
__releasedate__
to something like20190107
.
Update
HISTORY.rst
Set the date for the release.
Make sure to note any backwards incompatible changes.
Verify correctness.
Check the manifest:
check-manifest
Run tests:
make test
Build docs (this runs example code):
make docs
Tag the release:
$ git tag --sign v1.0.0
Copy the details from
HISTORY.rst
into the tag comment.Update PyPI:
$ rm -rf dist/* $ python setup.py sdist bdist_wheel $ twine upload dist/*
Push everything:
$ git push --tags origin main
Announce the release.