Versioning in Python

This document explains versioning strategies for Python packages.

For more information on versioning Python packages, see Python Packaging User Guide in the official Python documentation.

Table of Contents

  1. Version number in Python projects
  2. Incrementing version numbers

Version number in Python projects

In the Python implementation of the LiftButton, the version number is specified in the pyproject.toml file located in the python/ directory:

[project]
version = "0.0.1.dev1"

In Python projects, development releases include a release segment .dev1 in the version identifier. See Developmental releases in the Python documentation for more details.

Different Python projects may use different versioning schemes based on the needs of that particular project.

Incrementing version numbers

For incrementing version numbers in Python projects, refer to the bump2version documentation.