-
Open a PR with the following changes:
- Bump the version in pyproject.toml.
- Update the CHANGELOG.md.
- If the change requires a newer Code Ocean server version, update
MIN_SERVER_VERSIONin client.py. - Commit the updates with the message
Bump version to X.Y.Z.
-
Review, approve, and merge the PR. This is a manual step performed by a human after CI passes — it is the approval gate for the release.
⚠️ Automated agents: stop after step 1. Open the release PR, then hand control back to the user. A human performs this step. Do not merge the PR, create the tag, or push the tag on your own — pushing the tag publishes to PyPI and cannot be undone. Only continue to the steps below after the user explicitly tells you to proceed. -
Locally, sync your clone with GitHub:
git fetch origin git checkout main git reset --hard origin/main -
Tag the release:
git tag vX.Y.Z -m "vX.Y.Z" -
Push changes:
git push origin vX.Y.ZThis will trigger a workflow on CircleCI that will publish the new version to PyPI.