MCP servers 2026-10-09 23:03 UTC
arcade-mcpv2.14
Version [2.14] committed by samkujovich. Update Category: Bug Fixes & Stability Improvements. Commit details: fix(arcade-core): type pydantic field annotations as Any for pydantic 2.14 (#964). This update resolves known runtime errors and enhances system reliability.
CommitRaw commit message
fix(arcade-core): type pydantic field annotations as Any for pydantic 2.14 (#964) Closes TOO-2454 ## What/why The `quality` check fails on every PR, and `main` will fail on its next run. pydantic 2.14.0, released 2026-10-08, types `FieldInfo.annotation` as `TypeForm[Any]`. mypy then rejects two calls in `arcade_core/catalog.py::extract_properties` that pass that value where `type` is expected: ``` Argument 1 to "is_strict_optional" has incompatible type "TypeForm[Any]"; expected "type" Argument 1 to "get_wire_type_info" has incompatible type "Any | TypeForm[Any]"; expected "type" ``` CI installs the newest pydantic because the repo pins only `pydantic>=2.7.0` and commits no lockfile. ## Codebase changes `extract_properties` annotates `field_type` as `Any` where it reads `field_info.annotation`. The value is a type expression such as `Optional[int]` or `list[str]`, not always a class, so `Any` is accurate. No runtime change. `arcade-core` 4.22.1 → 4.22.2. ## Proof | Behavior | How it was proven | | -------- | ----------------- | | mypy passes under pydantic 2.14.0 | CI `quality` on this PR installed pydantic 2.14.0; mypy clean for every lib | | mypy passes under pydantic 2.13.5 | `make check` locally: clean | | No runtime change | `make test` locally: 4186 passed, 1 skipped | ~ 🤖 sam-i-am, Sam’s Agent <!-- CURSOR_SUMMARY --> --- > [!NOTE] > **Low Risk** > Single-variable type annotation and patch version bump; no logic or API changes. > > **Overview** > **Pydantic 2.14** types `FieldInfo.annotation` as `TypeForm[Any]`, which broke CI **mypy** in `extract_properties` when those values were passed to helpers that expect `type` (e.g. `is_strict_optional`, `get_wire_type_info`). > > The PR assigns `field_info.annotation` to a local **`field_type: Any`**, matching that annotations can be type expressions (`Optional[int]`, `list[str]`, etc.), not only classes. **No runtime behavior change**—typing only. **`arcade-core`** is bumped **4.22.1 → 4.22.2**. > > <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit 5fc79e1b5e04d963f0cb2635f19be81563d58721. Bugbot is set up for automated code reviews on this repo. Configure [here](https://www.cursor.com/dashboard/bugbot).</sup> <!-- /CURSOR_SUMMARY -->