Repository navigation
feat(python): add pydantic extra and restamp docs to 1.2.0 - #513
Merged
Merged
Conversation
…xtra to the Python package
…ocs already at 1.2.0 / 8.2.0 in this branch; pydantic extra and its docs were already in target commit.
…n restamp already complete; no other stale facts found.
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.
What Changed
pydanticoptional extra to the Python package (server/python/pyproject.toml, lockfile updated).pip install "metaobjects[pydantic]"installspydantic>=2.8, the minimum generated Python models need. The base install is unchanged, and thedevextra keeps its own pin.docs/ports/python.md(install section and the Pydantic/FastAPI consumer note), and adds a CHANGELOG entry under Unreleased.README.md,AGENTS.md,docs/ports/{csharp,java,kotlin,typescript}.mdandserver/java/README.md.Validation
Risk Assessment
✅ Low: Docs-only version restamp plus one optional pydantic extra; the extra is consistent with uv.lock and leaves the base dependencies unchanged.
Testing
Built the 1.2.0 wheel from this commit and installed it into disposable venvs in the evidence directory. Verified that the pydantic extra pulls pydantic 2.14.2, the base install stays free of pydantic, and an explicit pydantic 2.7.4 is refused under the extra, so the 2.8 floor holds. Python unit suite: 4001 passed. tests/integration was excluded because it needs Docker/Testcontainers, which this run did not have. The docs restamp (README, AGENTS/CLAUDE status, docs/ports) has no runtime surface and was checked by reading the diff only. Overall: passing, with the integration suite and the docs checks untested.
/dist/metaobjects-1.2.0-py3-none-any.whl)Pipeline
Updates from git push no-mistakes
✅ **Intent** - passed
✅ No issues found.
✅ **Rebase** - passed
✅ No issues found.
✅ **Review** - passed
✅ No issues found.
✅ **Test** - passed
✅ No issues found.
scripts/ci-local.sh --only ts-fast --only ts-unit --strict-toolchainscd server/python && uv build --out-dir <evidence>/dist (wheel metaobjects-1.2.0-py3-none-any.whl)uv venv + uv pip install <wheel> (base) -> pydantic absentuv pip install '<wheel>[pydantic]' -> pydantic 2.14.2 resolved; uv pip check cleanuv pip install --dry-run '<wheel>[pydantic]' 'pydantic==2.7.4' -> unsatisfiable (floor enforced)cd server/python && uv run --all-extras --all-groups pytest -q --ignore=tests/integration -> 4001 passedgit status: tracked tree clean after testing🔧 **Document** - 1 issue found → auto-fixed ✅
agent-context/skills/metaobjects-fit-assessment/SKILL.md:11- Capability sheet labelled 'at 1.1.4 / Maven 8.1.4' (also references/capability-sheet.md:1 and SKILL.md:461). Stale version label. Fixing needs regenerating fixtures/agent-context-conformance and checking the sheet's content against 1.2.0, so left for a follow-up.🔧 Fix applied.
✅ Re-checked - no issues remain.
✅ **Lint** - passed
✅ No issues found.
✅ **Push** - passed
✅ No issues found.