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.mdpass successfully. - Make sure badges appear as expected in the README.md on GitHub.
- Run
make build_changelogto 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 releasebutton to release the package on PyPI. - Once released verify that
pip install xyzspacesdoes indeed install the latest release.
- Go to the xyzspaces-feedstock repository.
- Create a new release branch and update
version,url,sha256hash of the released tar and dependencies in meta.yml - Verify
requirementsin 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 xyzspacesdoes indeed install the latest release.