__version__
Constant: warmhub.__version__
__version__ = SDK_VERSIONThe installed distribution’s version, under the name packaging tools expect.
An ALIAS of SDK_VERSION, not a second resolution of the same fact. That
constant already reads importlib.metadata.version("warmhub") with a
source-tree fallback (_transport_core._resolve_sdk_version), and the reason
it stopped being a literal is that a hand-kept copy drifted: it said 0.1.0
while pyproject.toml said 0.0.0.dev0. A literal here could not merely
drift, it could not exist. Versions are release-owned since #7566, the source
manifest carries the PEP 440 sentinel, and CI’s
verify-source-development-versions gate fails any committed change to that
line — so the only honest __version__ is one derived at runtime from what
was actually installed.
Both names are kept rather than one replacing the other: SDK_VERSION is what
the transport layer sends in its client header, __version__ is what
packaging tooling and bug-report templates reach for. Aliasing rather than
choosing means the two cannot disagree.