Skip to content

voiage.versioning.release_identity

release_identity([positional or keyword] version: str = None) -> ReleaseIdentity

Validate a canonical version and project it into package ecosystems.

Stable versions are identical in Cargo, Julia, and Python. Release candidates retain their SemVer spelling in Cargo and Julia while Python uses its normalized PEP 440 spelling. Other prerelease labels are rejected so release automation cannot silently invent ecosystem-specific mappings.

Parameters:

  • version str

Returns: ReleaseIdentity