fastmcp/tests
Jeremiah Lowin 6cc9559f84
Bump ty to ==0.0.1a25 (#2350)
* Bump ty to >=0.0.1a25 with type fixes

Follow-up to #2295. Updates ty and fixes compatibility issues with alpha 25, including:

- Updated ignore comment syntax (possibly-unbound-attribute → possibly-missing-attribute)
- Fixed async generator type handling with anext()
- Fixed type narrowing for timeout parameters
- Converted base_url assignments to AnyHttpUrl after string manipulation
- Added CallToolResult to return type annotations
- Removed redundant type casts
- Fixed test form data to use strings instead of bytes

ty alpha 25 has limitations with isinstance() narrowing on unions (see pyproject.toml for details), requiring some targeted type ignores.

* Pin ty to ==0.0.1a25

Alpha releases can have breaking changes, so pin to the tested version.
2025-11-02 20:02:45 -05:00
..
cli Security: Validate Cursor deeplink URLs and use safer Windows API (#2348) 2025-11-02 19:49:07 -05:00
client Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
contrib feat: Add title, annotations and meta to mixin decorators 2025-10-10 14:23:02 +05:30
deprecated feat: introduce fastmcp.json configuration system (#1517) 2025-08-19 16:06:04 -04:00
experimental Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
integration_tests Derive jwt_signing_key from Client Secret, default to Encrypted Disk Store (#2223) 2025-10-24 19:08:58 -04:00
prompts Enable more type checking rules (#1775) 2025-09-07 11:11:44 -04:00
resources Fix query-only resource templates not matching URIs without query strings (#2323) 2025-11-01 11:27:37 -04:00
server Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
tools Add meta support to ToolResult (#2283) 2025-11-02 16:46:52 -05:00
utilities Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00
__init__.py Update type handling for resources 2024-11-29 19:42:46 -05:00
conftest.py Derive jwt_signing_key from Client Secret, default to Encrypted Disk Store (#2223) 2025-10-24 19:08:58 -04:00
test_examples.py Cleanup content conversion 2025-09-06 17:32:33 -05:00
test_mcp_config.py Bump ty to ==0.0.1a25 (#2350) 2025-11-02 20:02:45 -05:00