From d8e30826f9e2afd9f616e5e0707cc8ef26deb649 Mon Sep 17 00:00:00 2001 From: Ehtisham Mubarik <40181801+ehtishammubarik@users.noreply.github.com> Date: Sun, 20 Sep 2026 07:30:20 +0000 Subject: [PATCH] release: 0.1.2 0.1.1 was tagged on 2026-09-04 and never published. Its release run failed at test-wheel on all three Pythons and correctly published nothing, to TestPyPI or PyPI, so PyPI has sat on 0.1.0 for sixteen days while master carried nine merged changes. The cause was in the workflow, not the package. It asserted `publicly_accessible = false` with a single space; create_db_subnet_group joined that block in #13 and terraform fmt realigned it to four. Red since 2026-07-31, unnoticed, because a workflow that runs only on a tag push has no feedback loop between tags. #33 fixed it in 4e862a1. Package contents are identical to what 0.1.1 would have published, plus the workflow fix. v0.1.1 is left in place as a git tag rather than deleted or moved. It records that a release was attempted and refused, which is a true thing that happened, and the changelog says so under its own heading rather than quietly renumbering. Verified: pytest 91 passed, coverage 90.90% against the 88% floor, ruff clean. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_012fMM2HhoJ2XzDkfMR2HwSa --- CHANGELOG.md | 39 +++++++++++++++++++++++++++++++++++++++ pyproject.toml | 2 +- 2 files changed, 40 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 28334fe..fb935cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,45 @@ ## [Unreleased] +## [0.1.2] - 2026-09-20 + +Identical package contents to 0.1.1. **0.1.1 was tagged and never published**, +so this is the version to install. + +The 0.1.1 release run failed at `test-wheel` on all three Pythons and correctly +published nothing, not to TestPyPI and not to PyPI. The cause was in the release +workflow rather than the package: it asserted `publicly_accessible = false` with +a single space, and `create_db_subnet_group` joined that block in [#13], so +`terraform fmt` realigned the attribute to four spaces. The workflow had been red +since 2026-07-31 and nothing noticed, because it runs only on a tag push and no +tag was cut in between. + +The database was private throughout and prod `deletion_protection` was true +throughout. Nothing was wrong with what the generator emitted. + +### Fixed + +- **The release workflow no longer re-asserts HCL the test suite already owns** + ([#33]). `tests/test_stackmason.py` covers both properties whitespace-tolerantly + and runs on every pull request, and the release workflow already runs that suite + against the installed wheel with the source tree deleted. The workflow copy was + duplication with no feedback loop between releases, which is precisely why it + drifted while the copy next to the code stayed correct. What remains in the + smoke test is what the suite genuinely cannot see: that the entry point resolves + from the wheel, that a real `stackmason new` writes real files, that the + published build still refuses an `0.0.0.0/0` database and writes nothing when it + blocks, and that generated output carries no literal credential. +- The `deletion_protection` assertion in the test suite is now whitespace-tolerant + too, matching the style already used for `publicly_accessible`. + +`v0.1.1` is left in place as a git tag rather than deleted or moved. It records +that a release was attempted and refused, which is a true thing that happened. + ## [0.1.1] - 2026-09-04 +Tagged, but never published. See the 0.1.2 entry above. Everything described +below shipped in 0.1.2. + Eight changes since `v0.1.0`. Three of them are the reason this release exists at all: a generated repository now applies, six of the nine advertised stacks admit they are stubs, and a contributor arriving from a `good first issue` label @@ -159,6 +196,7 @@ Automating it is [#31]. [#20]: https://github.com/ehtishammubarik/stackmason/issues/20 [#28]: https://github.com/ehtishammubarik/stackmason/issues/28 [#31]: https://github.com/ehtishammubarik/stackmason/issues/31 +[#33]: https://github.com/ehtishammubarik/stackmason/issues/33 ## [0.1.0] - 2026-07-29 @@ -194,3 +232,4 @@ about. [0.1.0]: https://github.com/ehtishammubarik/stackmason/releases/tag/v0.1.0 [0.1.1]: https://github.com/ehtishammubarik/stackmason/releases/tag/v0.1.1 +[0.1.2]: https://github.com/ehtishammubarik/stackmason/releases/tag/v0.1.2 diff --git a/pyproject.toml b/pyproject.toml index 28ca3fd..9eb99a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "stackmason" -version = "0.1.1" +version = "0.1.2" description = "Interview-driven Terraform repositories, secure by default." readme = "README.md" requires-python = ">=3.10"