From fa35d76c8168b7660f820c5f96ee08ca392138b0 Mon Sep 17 00:00:00 2001 From: Scott Converse Date: Fri, 3 Jul 2026 19:50:50 -0600 Subject: [PATCH 1/2] release: bump civiccore to v1.2.1 (publishes the local-task-queue migration line as a package) --- civiccore/__init__.py | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/civiccore/__init__.py b/civiccore/__init__.py index 1d85980..b1531f0 100644 --- a/civiccore/__init__.py +++ b/civiccore/__init__.py @@ -16,7 +16,7 @@ from __future__ import annotations -__version__ = "1.2.0" +__version__ = "1.2.1" from civiccore.audit import ( AuditActor, diff --git a/pyproject.toml b/pyproject.toml index 744a991..0a6028d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "civiccore" -version = "1.2.0" +version = "1.2.1" description = "CivicSuite shared platform package - migrations, shared SQLAlchemy base, LLM abstraction, audit/provenance, document ingestion, ingest and connector contracts, connector sync primitives, connector delta planning, reusable mock-city proof contracts, connector security helpers, startup config validation helpers, schedule validation helpers, encrypted config primitives, notice helpers, onboarding profile helpers, search access helpers, small auth helpers, manifests, exports, city profile primitives, and Windows-local module/runtime contracts" readme = "README.md" requires-python = ">=3.11" From 0d54c3f83cfa97ef0a81519bb632507a073eac3c Mon Sep 17 00:00:00 2001 From: Scott Converse Date: Fri, 3 Jul 2026 19:55:18 -0600 Subject: [PATCH 2/2] test/docs: update smoke-test version assertions to 1.2.1 + changelog entry --- CHANGELOG.md | 14 ++++++++++++++ tests/test_smoke.py | 4 ++-- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04b9614..c541379 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,20 @@ breaking changes to the public API surface (Appendix A of that spec) ship as MAJOR releases; new symbols or backward-compatible behavior ship as MINOR; bug fixes ship as PATCH. +## [1.2.1] - 2026-07-04 + +### Added +- Published the `civiccore_0003_local_task_queue` Alembic migration and the + Windows-local platform contracts (PostgreSQL-backed local task queue/worker) + as an installable release. This code was already on `main` and bundled by the + CivicSuite Windows Local installer, but the v1.2.0 wheel predates it — so + downstream modules whose tests expect migration head + `civiccore_0003_local_task_queue` (e.g. civicclerk's alembic-upgrade test) + could not pass against the published package. v1.2.1 closes that gap. + +### Notes +- No breaking API changes; consumers on the v1.2.0 line upgrade in place. + ## [1.2.0] - 2026-05-22 ### Added diff --git a/tests/test_smoke.py b/tests/test_smoke.py index ec36e3f..d08c6f0 100644 --- a/tests/test_smoke.py +++ b/tests/test_smoke.py @@ -7,7 +7,7 @@ def test_import_civiccore() -> None: import civiccore - assert civiccore.__version__ == "1.2.0" + assert civiccore.__version__ == "1.2.1" assert civiccore.roles_grant_access assert civiccore.access_level_allows assert civiccore.filter_records_by_access_level @@ -42,7 +42,7 @@ def test_import_civiccore() -> None: def test_package_metadata_marks_v1_as_provisional_recovery_line() -> None: pyproject = tomllib.loads(Path("pyproject.toml").read_text(encoding="utf-8")) - assert pyproject["project"]["version"] == "1.2.0" + assert pyproject["project"]["version"] == "1.2.1" assert "Development Status :: 4 - Beta" in pyproject["project"]["classifiers"] assert "Development Status :: 5 - Production/Stable" not in pyproject["project"]["classifiers"] assert "Development Status :: 2 - Pre-Alpha" not in pyproject["project"]["classifiers"]