Versioning and stability¶
license-audit follows Semantic Versioning. From 1.0 on, a breaking change to any of these bumps the major version:
- Commands and flags: command names, options, and what they do.
checkexit codes:0all clear,1a policy violation or a check that could not run,2unknown licenses and nothing else.- Configuration: the
[tool.license-audit]keys, the values they accept, and what they mean. - The JSON report, which also carries its own
schema_version; see the JSON report schema.
These can change in any release:
- Human-readable output: terminal output and the Markdown and notices reports are written for people. Parse the JSON report instead.
- Results: alias tables, built-in classifications, compatibility rules, and the OSADL data (which
license-audit refreshalso updates) improve over time, so a package's detected license or category, and therefore acheckoutcome, can change between releases. Pin license-audit, and don't runlicense-audit refresh, where a CI run must be reproducible; every report names the OSADL data it used. - The Python API: the command line is the public interface. The modules behind it are internal and can change in any release.