fastmcp/tests/utilities
nate nowack fc28a16502
json-schema: tolerate counts larger than any real length (#5221)
A minLength, maxLength, minItems or maxItems above what pydantic-core
accepts (2**64 - 1) made the whole schema fail to convert. The client then
dropped a tool's typed output to data=None, or answered an elicitation
with INTERNAL_ERROR. #5208 extended this to formatted strings. No str or
list is longer than sys.maxsize, so a larger maximum constrains nothing and
is dropped, and a larger minimum is clamped to a value that still rejects
everything.


Claude-Session: https://claude.ai/code/session_01KfHgVhbYEhBCC5eSeqGiuG

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-22 16:28:13 -05:00
..
json_schema_type json-schema: tolerate counts larger than any real length (#5221) 2026-09-22 16:28:13 -05:00
openapi fix(openapi): rewrite model references in prefixItems (#5131) 2026-09-22 13:48:34 -05:00
__init__.py restore 1.x code 2025-04-09 11:54:42 -04:00
httpx2_mock.py Add server-side identity assertion (SEP-990 ID-JAG) (#4483) 2026-07-18 19:52:15 -04:00
test_asgi_transport.py Merge remote-tracking branch 'origin/main' into feature/client-auto-default 2026-07-20 12:02:38 -04:00
test_async_utils.py Stop gather() from creating coroutines it may never schedule (#4559) 2026-07-20 11:01:30 -04:00
test_auth.py feat: option to add upstream claims to the FastMCP proxy JWT (#2997) 2026-01-28 15:57:24 -05:00
test_cli.py Fix path resolution in install commands (#1951) 2025-09-29 20:04:12 -04:00
test_components.py Stabilize upgraded ty checks (#4526) 2026-07-17 17:46:53 -04:00
test_docstring_parsing.py Extract parameter descriptions from docstrings (#3872) 2026-04-12 13:43:48 -04:00
test_http.py Add targeted coverage tests (#4230) 2026-05-25 18:57:28 -04:00
test_inspect.py Migrate to MCP Python SDK v2 (#4437) 2026-07-06 17:36:45 -04:00
test_inspect_icons.py Include instructions in MCP inspect output (#4873) 2026-08-21 19:50:27 -05:00
test_json_schema.py Copy schemas iteratively so deep nesting still compresses (#4671) 2026-07-27 14:58:13 -04:00
test_logging.py Avoid loading MCP and CLI stacks during lightweight imports (#4763) 2026-08-05 10:56:13 -04:00
test_skills.py Write downloaded skill text as UTF-8 (#4715) 2026-08-02 09:33:32 -04:00
test_tests.py Fix typos (#4498) 2026-07-18 21:18:39 -04:00
test_timeout.py Add targeted coverage tests (#4230) 2026-05-25 18:57:28 -04:00
test_token_cache.py Extract TokenCache utility, add caching to GitHubTokenVerifier (#3547) 2026-03-18 15:26:09 -04:00
test_typeadapter.py Fix method-bound tools (#1360) 2025-08-04 09:41:05 -04:00
test_types.py fix(resources): encode data-backed file names (#5140) 2026-09-21 16:42:32 -05:00
test_version_check.py Migrate to MCP SDK v2.0.0b2 (httpx2) (#4503) 2026-07-18 15:12:47 -04:00