Release ChecklistΒΆ
Use this checklist before tagging a release.
Confirm the package version in
pyproject.tomlandlightbox/lightbox.py.Add a dated entry to
docs/changelog.rstwith user-visible changes, support notes, and security-relevant updates.Run the local quality gates:
python -m ruff check lightbox tests docs/_ext scripts/validate_docs.py python -m ruff format --check lightbox tests docs/_ext scripts/validate_docs.py python -m mypy lightbox python -m pytest
Build and validate the HTML documentation:
python -m sphinx -W --keep-going -E -a -b html docs docs/_build/html python scripts/validate_docs.py docs/_build/html
Rebuild the PDF download and then rebuild HTML so the download link points to the fresh PDF:
./scripts/dev.sh docsBuild and check distributions:
python -m build python -m twine check dist/* python scripts/validate_dist.py dist
Install the built wheel in a fresh environment and build a minimal Sphinx project using
extensions = ["lightbox"].Run
pip-auditfor the release environment.Confirm PyPI project name availability immediately before publishing.
Create the release commit, tag it as
vX.Y.Z, and push the tag.Verify that GitHub Actions finishes the test matrix, docs validation, GitHub Pages deployment, and PyPI trusted-publishing job.