From 1a48635284a6a84fb1d7d6a5fb41c62fddaf54e1 Mon Sep 17 00:00:00 2001 From: Elmehdi Aitbrahim Date: Wed, 5 Aug 2026 14:46:00 -0400 Subject: [PATCH] chore: relock at 0.4.0 so the release build is not dirty The 0.4.0 release failed at "Verify the artifact identifies itself": keel 0.4.0+eae6c0437fdd (DIRTY) [release] ::error::artifact reports a dirty tree The version bump (#165) moved all five workspace members to 0.4.0 but left uv.lock pinning 0.3.2. CI's `uv sync` step then relocks to match, which modifies a TRACKED file, so by the time the verify step runs `keel --version` inside the checkout the tree is dirty. That is the anti-stale-stamp guard in version.build_info doing its job: a stamp is only believed when git agrees with it, precisely so a stamped build of a modified tree cannot claim to be a clean release. The stamp was honest; the tree really was dirty. `keel/_build_info.py` and `dist/` are both gitignored, so neither the stamp nor the build output is what tripped it -- only the lock was. Co-Authored-By: Claude Opus 5 (1M context) --- uv.lock | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/uv.lock b/uv.lock index 1141a774..5275ef2a 100644 --- a/uv.lock +++ b/uv.lock @@ -275,7 +275,7 @@ wheels = [ [[package]] name = "keel-broker-api" -version = "0.3.2" +version = "0.4.0" source = { editable = "packages/keel-broker-api" } dependencies = [ { name = "keel-core" }, @@ -295,7 +295,7 @@ provides-extras = ["conformance"] [[package]] name = "keel-broker-coinbase" -version = "0.3.2" +version = "0.4.0" source = { editable = "packages/keel-broker-coinbase" } dependencies = [ { name = "coinbase-advanced-py" }, @@ -312,7 +312,7 @@ requires-dist = [ [[package]] name = "keel-broker-fake" -version = "0.3.2" +version = "0.4.0" source = { editable = "packages/keel-broker-fake" } dependencies = [ { name = "keel-broker-api" }, @@ -327,7 +327,7 @@ requires-dist = [ [[package]] name = "keel-core" -version = "0.3.2" +version = "0.4.0" source = { editable = "packages/keel-core" } dependencies = [ { name = "python-dotenv" }, @@ -342,7 +342,7 @@ requires-dist = [ [[package]] name = "keel-trader" -version = "0.3.2" +version = "0.4.0" source = { editable = "." } dependencies = [ { name = "click" },