This checklist is the shortest reliable path from a green main branch to a publishable release.
-
Update the version in
pyproject.tomlandsrc/cubedynamics/version.py. -
Sanity-check install and packaging metadata:
python -m pip install -e ".[dev]" pytest -m "not integration and not online" -q mkdocs build --strict python -m build python -m twine check dist/*
-
Smoke-test the built wheel in a clean environment:
python -m venv .release-venv .release-venv/bin/pip install --upgrade pip .release-venv/bin/pip install dist/*.whl .release-venv/bin/python -c "import cubedynamics; import cubedynamics.verbs"
-
Commit the release metadata updates.
-
Create and push a tag such as
v0.1.0. -
Publish to PyPI with trusted publishing or:
python -m twine upload dist/* -
Draft a GitHub Release for the tag.
-
Update
CITATION.cff,.zenodo.json, andpaper/paper.mdwith the minted DOI once Zenodo finishes archiving the release.
- Verify
pip install cubedynamicsworks from a fresh environment. - Confirm the docs site matches the released version.
- Announce any breaking changes or deprecations in the changelog and release notes.