v0.4.3
Single-line follow-up to v0.4.2. No proxy code changes — v0.4.2's proxy runtime was already byte-for-byte identical to v0.4.1 (all v0.4.2 diffs were in tests/, pyproject.toml, README.md, and CHANGELOG.md).
Fixed
src/agent_vault_proxy/__init__.py__version__now agrees withpyproject.toml. The v0.4.2 release bumpedpyproject.tomlto0.4.2but left__version__ = "0.4.1"insrc/agent_vault_proxy/__init__.py. The published v0.4.2 wheel installed correctly viapip(PyPI metadata = 0.4.2) but reportedagent_vault_proxy.__version__ == "0.4.1"at runtime. Thewheel-smokejob in.github/workflows/test.ymlis designed to catch exactly this skew (its comment lists it as the canonical failure mode) and went red onmainafter the v0.4.2 push.scripts/smoke-test-wheel.shentry-point check switched frompython -m agent_vault_proxy --helpto an import-only check matching.github/workflows/test.yml'swheel-smokejob. mitmdump's argparse behavior on--helpwith a-s addonflag is fragile across versions and returns exit 1 in some environments, masking real wheel issues as entry-point failures. The CI job already learned this lesson and switched to importingagent_vault_proxy,agent_vault_proxy.__main__.main,agent_vault_proxy.addon,agent_vault_proxy.config, andagent_vault_proxy.backends.BACKEND_REGISTRY; the local pre-release tool now does the same. Without this,scripts/pre-release.shstep 11 (which invokessmoke-test-wheel.sh) couldn't go green.- Release-tooling fixes from v0.4.2 are preserved unchanged in v0.4.3 (
tests/pypi-smoke/run.shNEGATIVE assertion accepting"type":"deny",tests/pypi-smoke/docker-compose.ymlempty-default forTEST_SECRET). - Release handoff now gates on
scripts/pre-release.shbetween commit and tag — that script's section 3 (Version constants agree?) does the exact pyproject vs__init__.pycomparison that would have caught the v0.4.2 skew. Order matters:pre-release.sh's first check isgit status --porcelainfor a clean working tree, so it runs AFTERgit commit, not before. This is a process fix, not a code fix; recorded here for traceability.
Changed
- Version pointers in
README.md,tests/pypi-smoke/README.md,tests/pypi-smoke/run.shusage examples,docker-compose.ymlimage tag, andscripts/smoke-test-wheel.shusage examples bumped to0.4.3. The historical reference to "v0.4.2 changelog" intests/pypi-smoke/run.sh:324is preserved — the harness fix is documented in the v0.4.2 entry.