Skip to content

Release Workflow

Aly Sivji edited this page Dec 7, 2020 · 4 revisions

This page contains information about how to cut a new release and upload to PyPI.

Versioning Strategy

Semantic Versioning

Instructions

  1. Bump version in __init__.py; make a PR and merge
  2. Grab lastest version, X.Y.Z
  3. Generate changelog: python scripts/generate_changelog.py -v X.Y.Z
  4. Cut a release on GitHub
  5. Upload to PyPI with flit

Flit Workflow

Flit simplifies the workflow of packaging and releasing Python libraries.

pip install flit
flit build
flit publish --repository testpypi
Clone this wiki locally