This document describes the release process of xyzspaces, and is mostly intended for package maintainers.
The following are mandatory pre-release steps to bring the repository into a proper shape:
- Increment
__version__
variable in xyzspaces/version.py as desired. - Make sure all tests listed in
CONTRIBUTING.md
pass successfully. - Make sure badges appear as expected in the README.md on GitHub.
- Run
make build_changelog
to collect changes and prepend them toCHANGELOG.md
, then edit this file manually if needed and commit these changes.
- Create a new release in the GitHub UI by clicking on Draft a new release button, then update the tag version and release description.
- Click on the
Publish release
button to release the package on PyPI. - Once released verify that
pip install xyzspaces
does indeed install the latest release.
- Go to the xyzspaces-feedstock repository.
- Create a new release branch and update
version
,url
,sha256
hash of the released tar and dependencies in meta.yml - Verify
requirements
in meta.yml - Raise a PR for this release branch and merge the changes in master.
- It can take hours for a new release to appear on Anaconda.org.
- Once available verify that
conda install -c conda-forge xyzspaces
does indeed install the latest release.