Skip to content

Release Checklist

Sayam Kumar edited this page Jun 27, 2021 · 8 revisions

PyMC3 Release workflow

  • Track all relevant issues and PRs via a version-specific milestone
  • Make sure that there are no major known bugs that should not be released
  • Make a PR to bump the version number in __init__.py and edit the RELEASE-NOTES.md:
    • Run git submodule update --remote to update pymc-examples submodule to the latest commit
    • Create a new "vNext" section at the top
    • Edit the header with the release version and date
    • Add a line to credit the release manager like in previous releases
  • After merging the PR, check that the CI pipelines on master are all ✔
  • Create a Release with the Tag as ´v1.2.3´ and a human-readable title like the ones on previous releases

After the last step, the GitHub Action "release-pipeline" triggers and automatically builds and publishes the new version to PyPI.

Troubleshooting

  • If for some reason, the release must be "unpublished", this is possible by manually deleting it on PyPI and GitHub. HOWEVER, PyPI will not accept another release with the same version number!
  • The release-pipeline has a test-install-job, which can fail if the PyPI index did not update fast enough.

Post-release steps

Clone this wiki locally