Skip to main content

Module qapp_version

Module qapp_version 

Source
Expand description

Semver-style version parsing and comparison for qapp.json version fields.

Supports major.minor.patch with optional -pre suffix (e.g. 0.0.12-dev). A stable release (0.0.12) sorts newer than the same numeric pre-release (0.0.12-dev).

Structs§

ParsedVersion
Parsed qapp manifest version.

Functions§

compare_parsed
compare_versions
Compare two version labels. Returns None if either side fails to parse.
is_version_newer
True when candidate is strictly newer than installed.
normalize_version_label
Normalize user-facing version text (v0.0.12-dev, 0.0.12).
parse_version
Parse a version string; returns None when no numeric triple is found.