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
Create an annotated tag in git (in main branch in GitHub repository):
git tag -a x.y.z -m "python-control version x.y.z"
git push --tags
Note: don't use the GitHub release mechanism at this stage (you need an annotated tag, which requires this step)
(optional) Mark all pull requests contained in the release with the milestone associated with the release
Deploy release
github: On the project’s GitHub page, click the releases tab and then press the “Draft a new release” button to create a release from the appropriate tag.
Note: github may do this automatically when it sees the tag get posted
Use "Auto-generate release notes" to generate draft release notes; edit for style and consistency
Fork control-feedstock to your account and make changes in your fork
If you already have the forked code, then 'git pull upstream main'
Update recipe/meta.yml: change the version number, sha256 hash, and reset the build number to 0
If there have been changes to the conda build process, you may need to do more extensive edits to meta.yaml
Push changes back to your github account and generate a pull request.
Once checks are complete (and successful), merge pull request
readthedocs: Log in to the python-control project page and go to the Admin tab and choose Versions from the sidebar. Make sure the release version is "active" and "public" and that it builds properly (new build will trigger when release version is marked as active). One the build is complete and looks OK, set the the default version (Admin -> Advanced Projects Setting) to be the version just released and remove "active" setting from older versions.
Update the stable branch to match the latest release (required as long as major version is < 1):
git checkout stable
git merge 0.x.y
git push
If math images don't render properly, try this:
Set up an exact redirect from /en/<ver>/generated/_images/* to /en/<ver>/_images/:splat to fix a bug in the way math images are handled in generated pages.
Set up an exact redirect from /en/<ver>/examples/_images/math/* to /en/<ver>/_images/math/:splat to handle math created in Jupyter notebooks
Currently maintaining the last version (0.x), last major release (0.x.y), and last minor releases (0.x.y.z)
Confirm that source code links work and send you to the right version of the code