Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.d/2.28.0-release-identity.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Fixed

- Synchronized the LineageWeave runtime `__version__` with the Python and frontend package metadata at `2.28.0`.
- Added `tests/test_package_version.py` so release identity drift fails before a protected release can be treated as reproducible provenance.
2 changes: 1 addition & 1 deletion lineageweave/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,4 +130,4 @@
"serialize_lineage_analysis_result",
]

__version__ = "2.20.0"
__version__ = "2.28.0"
20 changes: 20 additions & 0 deletions tests/test_package_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
"""Release identity stays consistent across Python and frontend artifacts."""

from __future__ import annotations

import json
import tomllib
from pathlib import Path

from lineageweave import __version__


def test_release_versions_are_synchronized() -> None:
"""Runtime provenance must use the same version as shipped package metadata."""
repository_root = Path(__file__).resolve().parents[1]
project = tomllib.loads((repository_root / "pyproject.toml").read_text(encoding="utf-8"))
frontend = json.loads(
(repository_root / "frontend" / "package.json").read_text(encoding="utf-8")
)

assert __version__ == project["project"]["version"] == frontend["version"]
Loading