chore(release): promote to [6.6.2] — fix shipped __version__ runtime drift#154
Merged
saurabhjain1592 merged 1 commit intomainfrom Apr 24, 2026
Merged
chore(release): promote to [6.6.2] — fix shipped __version__ runtime drift#154saurabhjain1592 merged 1 commit intomainfrom
saurabhjain1592 merged 1 commit intomainfrom
Conversation
Patch release to fix the runtime __version__ drift in the shipped v6.6.1 wheel. Installed wheels of v6.6.1 had axonflow.__version__ stuck at '6.6.0' because the release workflow's sed targeted axonflow/__init__.py (which only re-exports from _version.py, so the sed was a silent no-op) instead of axonflow/_version.py. Package metadata (what pip show reads) was correct, so install/ upgrade worked fine. The drift only affected code reading axonflow.__version__ at runtime — telemetry self-identification, version-gated feature detection in user code, and log output. No functional change from v6.6.1. The underlying bug in release.yml was fixed in #153; v6.6.2 is the first release to benefit from it. Both manifest files move together with the CHANGELOG rename so the validate-version-alignment gate stays green through the transition.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Patch release to fix a real bug in the shipped v6.6.1 wheel:
axonflow.__version__at runtime returns"6.6.0"even thoughpip show axonflowcorrectly reports6.6.1.Three changes:
CHANGELOG.md: new## [6.6.2] - 2026-04-25sectionpyproject.toml: 6.6.1 → 6.6.2axonflow/_version.py: 6.6.1 → 6.6.2All three move together so the
validate-version-alignmentgate stays green through the transition.Root cause (now fixed)
release.ymlwas running:sed -i "s/^__version__ = .*/__version__ = \"${VERSION}\"/" axonflow/__init__.pyBut
axonflow/__init__.pyonly doesfrom axonflow._version import __version__. The sed matched nothing and silently exited 0. The real__version__constant lives inaxonflow/_version.pywhich was never touched during release. Result: every published wheel hadaxonflow/_version.pyfrozen at whatever value was on main before the tag was pushed.Fix landed in #153 (merged earlier today) — release.yml now seds
_version.pyand asserts-post-sed so silent no-ops fail loudly. v6.6.2 is the first release to benefit from that fix.What v6.6.2 changes for users
Functional behavior: none. Same SDK as v6.6.1.
Observable:
axonflow.__version__now correctly returns"6.6.2". Affects:if axonflow.__version__ >= "6.6.1") — was broken on v6.6.1, works on v6.6.2Impact assessment on other SDKs
Full audit done before this PR. The bug is Python-only — it was specific to the two-file
_version.py+__init__.pysetup where release.yml was targeting the wrong file:version.go = 5.6.1✓package.json+ bothdist/*/version.jsall at 5.6.0 ✓pom.propertiesin JAR reads 5.7.0 (consumed at runtime viadetectSdkVersion()) ✓Release flow after merge
v6.6.2release.ymlpreflight validates CHANGELOG section matches tagpip install axonflow==6.6.2 && python -c "import axonflow; print(axonflow.__version__)"returns"6.6.2"Test plan
validate-version-alignment.shpasses locally[6.6.2]section cleanly__version__matches tag