Developing VBL Aquarium
GitHub Actions
are used to automatically build models to the models directory.
To update the models, simply push changes to the underlying pydantic models in
the vbl_aquarium/models directory.
Local Development Setup
- Install Hatch
- Clone the repository
- Run
hatch shellin the repository root directory
Use
to build the models locally.
Use
to run pyright type checking.
Deploying New Releases
Deploying a new release is done automatically via GitHub Actions. To deploy a new release:
- Update the version number in
src/vbl_aquarium/__about__.py - Commit and push the version change to the
mainbranch - Create and push a tag with the version number:
The release workflow will automatically:
- Build the package using Hatch
- Publish the package to PyPI
- Create a GitHub release with auto-generated release notes
Note
Pre-release versions (containing a, b, c, or d in the version string) will be marked as pre-releases on GitHub.