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§
- Parsed
Version - Parsed qapp manifest version.
Functions§
- compare_
parsed - compare_
versions - Compare two version labels. Returns
Noneif either side fails to parse. - is_
version_ newer - True when
candidateis strictly newer thaninstalled. - normalize_
version_ label - Normalize user-facing version text (
v0.0.12-dev,0.0.12). - parse_
version - Parse a version string; returns
Nonewhen no numeric triple is found.