Release 0.5.2
Checklist for a new release
-
Review CHANGELOG.rstandAUTHORS.rsthave been updated. -
Review deprecation warnings that can be cleaned up now. -
CI pipelines pass -
windows tests pass (trigger them manually!).
-
-
Save the pip dependencies for future reference: -
Go to the python3.8tests pipeline job and download theartifacts(right side "Job artifacts"-->"Download"). -
Unzip, get the frozen-requirements.txt. -
Edit the frozen-requirements.txtfile to removegitlab-ci-tokenin the file. -
Move it to frozen_requirementsdirectory. -
Rename and add the file for tracking. git add ./frozen_requirements/frozen-requirements-$NEW_TAG.txt -
Commit and push. git commit -m "Add pip frozen requirements for $NEW_TAG" -
Rename it, commit & push (only works after we've merged and created the tag):
-
NEW_TAG=$(git describe --tags --abbrev=0)
echo $NEW_TAG
mv frozen-requirements.txt frozen-requirements-$NEW_TAG.txt
git add ./frozen_requirements/frozen-requirements-$NEW_TAG.txt
git commit -m "Add pip frozen requirements for $NEW_TAG"
-
Bump version and push new tag: - Future TODO: finish automation of this step in
.gitlab-ci.yml.
- Future TODO: finish automation of this step in
# Version bump
VERSION_PART=patch # or minor, or major
bump2version $VERSION_PART --config-file setup.cfg
git push --follow-tags
-
"Activate" the RTD docs build for the new tag over here. - Configuration:
-
Active=True -
Hidden=False -
Privacy Level=Public
-
- Configuration:
-
Change the "Default version" of the docs to the tag that was released over here. -
Make sure the docs build. -
Create new release on GitLab. -
Meaningful title -
List of highlights followed by changelog. -
Add a few images or animated GIFs showcasing the new exciting features.
-
-
Test PyPi release (see also https://adriaanrol.com/posts/pypi/). -
Release on PyPi and wait for it to become available (see also https://adriaanrol.com/posts/pypi/). -
Post the new release in Slack ( #software-for-usersand#software-for-developers).- PS Rockets are a must!
🚀 🚀 🚀
- PS Rockets are a must!
-
Inform the Quantify Marketing Team.
Edited by Kelvin Loh