Skip to content

Bump datamodel-code-generator from 0.57.0 to 0.64.0 - #3230

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/datamodel-code-generator-0.64.0
Open

Bump datamodel-code-generator from 0.57.0 to 0.64.0#3230
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/datamodel-code-generator-0.64.0

Bump datamodel-code-generator from 0.57.0 to 0.64.0

018b755
Select commit
Loading
Failed to load commit list.
Claude / Claude Code Review completed Jul 31, 2026 in 23m 37s

Code review found 1 important issue

Found 3 candidates, confirmed 1. See review comments for details.

Details

Severity Count
🔴 Important 1
🟡 Nit 0
🟣 Pre-existing 0
Severity File:Line Issue
🔴 Important pyproject.toml:106 Generator bump requires regenerating surface types and extending ruff per-file-ignores

Annotations

Check failure on line 106 in pyproject.toml

See this annotation in the file changed.

@claude claude / Claude Code Review

Generator bump requires regenerating surface types and extending ruff per-file-ignores

Bumping datamodel-code-generator to 0.64.0 without regenerating the checked-in surface types breaks CI in two independent ways: the `gen_surface_types.py --check` drift gate fails for both `src/mcp-types/mcp_types/_v2025_11_25/__init__.py` and `_v2026_07_28/__init__.py` (0.64.0 emits new `__pydantic_extra__`/`model_rebuild(force=True)` blocks and changes `JSONValue` to `RootModel[Optional[Union[...]]]`), and even after regenerating, the new output violates the repo ruff config (7× UP006, 2× UP03