From c18ab92ce26300ed49ace8152f074c92afb52559 Mon Sep 17 00:00:00 2001 From: howlcipher Date: Sun, 25 Oct 2026 17:22:06 -0400 Subject: [PATCH 1/2] fix(version): synchronize __version__ with pyproject.toml 0.4.5 --- src/howldream/__init__.py | 2 +- tests/test_interop_descriptor.py | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/howldream/__init__.py b/src/howldream/__init__.py index 60f39bb..e0ebf50 100644 --- a/src/howldream/__init__.py +++ b/src/howldream/__init__.py @@ -1,3 +1,3 @@ """Controlled experiments. Dream output is data, not authority.""" -__version__ = "0.4.4" +__version__ = "0.4.5" diff --git a/tests/test_interop_descriptor.py b/tests/test_interop_descriptor.py index b01cdfb..5be2b86 100644 --- a/tests/test_interop_descriptor.py +++ b/tests/test_interop_descriptor.py @@ -35,6 +35,18 @@ def test_descriptor_shape(monkeypatch, capsys): assert SCHEMA_ID.match(schema), schema +def test_version_matches_pyproject(): + from pathlib import Path + try: + import tomllib + except ImportError: + import tomli as tomllib + pyproject_path = Path(__file__).resolve().parent.parent / "pyproject.toml" + with open(pyproject_path, "rb") as f: + data = tomllib.load(f) + assert __version__ == data["project"]["version"] + + def test_every_subcommand_and_flag_is_described(monkeypatch, capsys): described = { tuple(c["path"]): set(c["flags"]) for c in descriptor(monkeypatch, capsys)["commands"] From 661e5dd4e942c430e5a858f7aa308fb3c1c7b00f Mon Sep 17 00:00:00 2001 From: howlcipher Date: Sun, 25 Oct 2026 17:23:29 -0400 Subject: [PATCH 2/2] style: format test_interop_descriptor with ruff --- tests/test_interop_descriptor.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_interop_descriptor.py b/tests/test_interop_descriptor.py index 5be2b86..10b3f1c 100644 --- a/tests/test_interop_descriptor.py +++ b/tests/test_interop_descriptor.py @@ -37,6 +37,7 @@ def test_descriptor_shape(monkeypatch, capsys): def test_version_matches_pyproject(): from pathlib import Path + try: import tomllib except ImportError: