From 57f6e48abed5877a8b9fe0ec5c5899ac87422aad Mon Sep 17 00:00:00 2001 From: Imran Siddique Date: Mon, 3 Aug 2026 10:08:38 -0700 Subject: [PATCH] chore(release): 0.4.1 Patch release carrying the `--version` fix from #50. 0.4.0 reports `0.2.0` from `trace-tests --version`, which matters because the v0.2 profile cutover shipped in 0.4.0: `--version` is the command someone runs to check whether their suite matches their producer, and on 0.4.0 it answers with the version that cannot verify v0.2 records. The fix is on main but not on PyPI, so every installer still hits it until this ships. No behaviour change to conformance checking. The v0.2 profile requirement, module set, and every finding are identical to 0.4.0. Verified after the bump: - `trace-tests --version` -> 0.4.1, `importlib.metadata` -> 0.4.1. The version now tracks pyproject.toml with no code change, which is the point of #50. - `python -m pytest tests -q` -> 118 passed, 5 xpassed (pre-existing hardware-TEE xfails in tests/test_level2.py). - `python -m build` -> agentrust_trace_tests-0.4.1 sdist and wheel. Co-Authored-By: Claude Opus 5 (1M context) --- CHANGELOG.md | 2 ++ pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f98564..db382e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.4.1 — 2026-08-03 + ### Fixed - **`--version` reported the wrong version.** `__version__` was a second hardcoded literal alongside `pyproject.toml` and never moved, so it sat at `0.2.0` through both the 0.3.0 and 0.4.0 releases: `trace-tests --version` printed `0.2.0` from a 0.4.0 install while `importlib.metadata` correctly returned `0.4.0`. It is now read from installed distribution metadata, so there is one source of truth and the value cannot fall behind a release again. diff --git a/pyproject.toml b/pyproject.toml index 9955574..60daf67 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "agentrust-trace-tests" -version = "0.4.0" +version = "0.4.1" description = "TRACE conformance test suite" readme = "README.md" license = { text = "Apache-2.0" }