torchcell.knowledge_graphs.release_snapshot.bootstrap_package_version

bootstrap_package_version(snapshot: KgReleaseSnapshot, *, torchcell_version: str, torchcell_tag: str | None, note: str | None) → KgReleaseSnapshot[source]

Fill the package version of a snapshot whose manifest predates the spine.

Refused when the manifest already recorded one: the recorded value is the truth and an override would rewrite it. The last event’s note says the values were supplied at snapshot time, plus note (how they were derived).