Skip to content

Commit 80f3bb2

Browse files
authored
Merge pull request #7 from negillett/ci-fix
fix(ci): install dev deps before Python generated-type verify
2 parents 6eadb8a + 3535a31 commit 80f3bb2

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ All notable changes to this repository are documented here. **PyPI** releases us
66

77
## Unreleased
88

9+
- **Parity CI bootstrap fix:** `scripts/verify-generated-types.sh` now installs dev dependencies (`python -m pip install -e ".[dev]"`) before model generation so `datamodel-code-generator` metadata is present in clean CI environments.
910
- **Spec-generated wire models:** Add `src/intentproof/generated` (Pydantic models from intentproof-spec JSON Schemas, embedded normative schema dicts for `jsonschema`, and `spec_fingerprint.json` with spec version plus per-schema and aggregate SHA-256). Route SDK types and wire serialization through these models; add `schema_validate` helpers for execution events, wrap options, and runtime config and export them from `intentproof`.
1011
- **Codegen and drift guards:** Add `scripts/generate_schema_models.py` with pinned `datamodel-code-generator` and deterministic generation; add `scripts/verify-generated-types.sh`, `scripts/check-no-bundled-schema.sh`, and `scripts/check-sdk-spec-pin.sh` enforcing `[tool.intentproof]` `spec-version` and `spec-commit` against the spec checkout.
1112
- **No handwritten schema models:** `scripts/check-no-handwritten-model-types.sh` delegates to `intentproof-spec`’s shared checker (requires a spec checkout via `INTENTPROOF_SPEC_ROOT`, sibling `../intentproof-spec`, or `./intentproof-spec`). Wired into **`tox -e static`**, a dedicated CI job (`no-handwritten-model-types`) that checks out the pinned spec revision without installing the SDK, the Release workflow before build, and release preflight required check-runs.

scripts/verify-generated-types.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
set -euo pipefail
44
repo="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
55
cd "$repo"
6+
python -m pip install -e ".[dev]"
67
python3 scripts/generate_schema_models.py
78
ruff format src/intentproof/generated
89
git diff --exit-code -- src/intentproof/generated

0 commit comments

Comments
 (0)