Maintenance Guide#
Releases#
We follow Semantic Versioning. Each release is tagged MAJOR.MINOR.PATCH.
Creating a release#
Update
CHANGELOG.md— move items from[Unreleased]to a new versioned section.Bump the version in
pyproject.tomlandsrc/spatialvi/__init__.py.Open a PR, merge, then create a GitHub release tag.
Updating dependencies#
Dependency bounds are declared in pyproject.toml. When a new major version of a dependency
is released:
Test against the new version locally.
Update the lower bound if new features are required, or add an upper bound if breaking changes exist.
Update
CHANGELOG.md.
Pre-commit hooks#
The project uses pre-commit hooks for code quality. To update hook versions:
pre-commit autoupdate
git add .pre-commit-config.yaml
git commit -m "chore: update pre-commit hooks"