Install the package in editable mode with test dependencies:
pip install -e '.[test]'
Go to the project root
pip install --upgrade build
python -m build
Test the project, forcing reinstall if necessary
pip install dist/listo-0.1.0-py3-none-any.whl --force-reinstall
make lint
make test
- Update the
version
inpyproject.toml
. We use semantic versioning - Create and merge a PR branch called
release-x.x.x
- Pull from `main``
- At the command line, run
make tag
- Go to tags page, choose the most recent tag, and click
Draft a new release
- Click
Generate release notes
and save - Run
make changelog
- Use
git commit --amend
to add the just pulled release notes to the release commit