Development
While not strictly a necessity, we assume that you installed the following developer dependencies:
in the text below.
Install
For development we recommend you clone the repository and install the package with uv:
uv venv --allow-existing
uv sync --all-extras
Check
just check
Release
Note: In the text below we assume that you want to release version <VERSION> of the package. Please just replace this version number with the version that you want to release (e.g. 0.2).
Make sure that all the checks and tests work correctly locally
just
Make sure all workflows of the CI system work correctly
Check that the most recent “Read the Docs” build of the documentation ran successfully
Release a new version on PyPI:
Increase version number
Add git tag containing version number
Push changes
just release <VERSION>
Open the release notes for the latest version and create a new release
Paste them into the main text of the release web page
Insert the version number into the tag field
For the release title use “Version
”, where <VERSION>specifies the version number (e.g. “Version 0.2”)Click on “Publish Release”
Note: Alternatively you can also use the
ghcommand:gh release create
to create the release notes.