You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
From the commit just before bumping the version, create a new branch maint/<release version number>
Update changelog and open PR targeting a new maint/<release version number> branch.
To do so, use the python etstool.py changelog build command to update the changelog
file. You will still need to review / edit it and also confirm that all news fragments
were included / delete the files. (Update changelog for 5.0.0 release and remove news fragment files #255)
Update version in setup.py for the prerelease, open 2 PRs against maint/<release version number>
Create a new branch from maint/<release version number>: git checkout maint/<release version number>; git pull; git checkout -b call-it-anything-you-like
Set PRERELEASE to "rc1" and IS_RELEASED to true, commit, e.g. git commit -m "Set IS_RELEASED to true for prerelease <release version number>rc1"
Tag (annotated!) the release candidate on the commit where IS_RELEASED is set to true, e.g. git tag -a -m "Release candidate <release version number>rc1" <release version number>rc1 <commit-hash>
Backport PRs that have been merged to master to the maintenance branch. Use the "need backport ..." tag if there is one (but don't rely 100% on it) (Backports for 5.0.0 and update Changelog #263)
Verify that no other open issue needs to be addressed before the release.
Test against other ETS packages and other ETS-using projects (ran envisage and mayavi test suites)
Create branch release/<release version number> from maint/<release version number> branch.
Set release to <release version number>, and set IS_RELEASED is true; commit
Install from source distribution and run tests again
Open a PR against maint/<release version number> with this being the last commit so that CI is built on the release commit (Apptools Release 5.0.0 #264)
Once CI is done building merge PR
Bump the micro version number i.e. <release version number + 0.0.1> and set IS_RELEASED to false; commit.
From the commit at which IS_RELEASED is true and version is <release version number>, tag (annotated!) git tag -a -m "Release <release version number>" <release version number> <commit-hash>
Push the tag git push origin <release version number>
Make PR targeting gh-pages branch: Generate documentation and copy the content to the branch. Verify that the resulting index.html looks good. (Update Documentation for 5.0.0 #266)
Upload to PyPI
Test the PyPI package
Post-release
Package update for enthought/free repository (for EDM)
Target date:
Release Candidate by YYYY-MM-DD
Release by YYYY-MM-DD
Release candidate
maint/<release version number>maint/<release version number>branch.To do so, use the
python etstool.py changelog buildcommand to update the changelogfile. You will still need to review / edit it and also confirm that all news fragments
were included / delete the files. (Update changelog for 5.0.0 release and remove news fragment files #255)
ci-src-requirements.txtif neededmaint/<release version number>maint/<release version number>:git checkout maint/<release version number>;git pull;git checkout -b call-it-anything-you-likePRERELEASEto "rc1" andIS_RELEASEDto true, commit, e.g.git commit -m "Set IS_RELEASED to true for prerelease <release version number>rc1"maint/<release version number>(Release Candidate 5.0.0rc1 #258)maint/<release version number>, FlipIS_RELEASEDback to false, commit.maint/<release version number>(Set IS_RELEASED back to False #259)git tag -a -m "Release candidate <release version number>rc1" <release version number>rc1 <commit-hash>-
git checkout <tag>,git clean -ffxd,python setup.py sdist,twine check dist/<...>.tar.gz,twine upload dist/<...>.tar.gzRelease blockers
Pre-release
envisageandmayavitest suites)Release
release/<release version number>frommaint/<release version number>branch.<release version number>, and setIS_RELEASEDis true; commitmaint/<release version number>with this being the last commit so that CI is built on the release commit (Apptools Release 5.0.0 #264)<release version number + 0.0.1>and setIS_RELEASEDto false; commit.maint/<release version number>(Bump release version for the development of 5.0.1 #265)IS_RELEASEDis true and version is<release version number>, tag (annotated!)git tag -a -m "Release <release version number>" <release version number> <commit-hash>git push origin <release version number>gh-pagesbranch: Generate documentation and copy the content to the branch. Verify that the resulting index.html looks good. (Update Documentation for 5.0.0 #266)Post-release
enthought/freerepository (for EDM)