-
Notifications
You must be signed in to change notification settings - Fork 103
Development Cycle
pressler-vsc edited this page Apr 7, 2025
·
4 revisions
- Create a new
integration/X.Y.Zbranch offmaster. - Switch to this branch and update
__version_numberinsarpy/__about__.pytoX.Y.Za0 - In Read the Docs, change Admin > Settings > Default branch to
integration/X.Y.Z
- Create pull requests that target
integration/X.Y.Z. - Before merging each pull request, verify that:
- the pre-release segment of
__version_numberinsarpy/__about__.pyis incremented (e.g.X.Y.Za1etc.) -
CHANGELOG.mdis updated as appropriate
- the pre-release segment of
- Branches merged into
integration/X.Y.Zshould be squashed.
Assuming you have an integration/X.Y.Z branch off master that is being considered for release:
- Create a new
release/X.Y.Zbranch offintegration/X.Y.Zand switch to it. - Merge
masterintorelease/X.Y.Zand resolve any conflicts. - Set
__version_numberinsarpy/__about__.pytoX.Y.Z - Update
CHANGELOG.mdas appropriate (e.g. date in release header) - Run tests.
- Submit the
release/X.Y.Zbranch as a pull request intointegration/X.Y.Ztaking care to document the unittest results.
Assuming you have an integration/X.Y.Z branch off master that has been prepared for release:
- Submit the
integration/X.Y.Zbranch as a pull request intomastertaking care to document the unittest and Read the Docs artifacts from testing. - Merge changes back into
masterwithout squashing. - Create and push an annotated
vX.Y.Ztag onto the resulting commit (this is done from the command line; e.g.git tag -a vX.Y.Z -m "vX.Y.Z"andgit push origin tag vX.Y.Z). - Run the
pypi.ymlGitHub workflow (in the GitHub GUI) from thevX.Y.Ztag. PyPI publishing jobs will wait for an approval before starting. - Check Read the Docs to ensure build was triggered and successful. Set "Admin > Settings > Default branch" back to
master.
Assuming you have an release/X.Y.Z branch, perform the following in linux and windows:
- Ensure you have the latest
noxinstalled andSARPY_TEST_PATHset appropriately. - Run the tests using
nox.