modelcontextprotocol / modelcontextprotocol/python-sdk
Remove jsonschema dependency
未关闭
还没有人认领这个 Issue。
enhancement
P3
v2
- 主要语言
- Python
- 星标
- 24.3k
- 派生
- 4k
- 平均合并
- 1 天 1 小时
- 30 天内合并 PR
- 31
描述
Summary
Remove the jsonschema package as a dependency.
Motivation
- Reduces the SDK's dependency footprint
- Part of lazy imports / startup time improvements
- Pydantic can handle validation needs
Related
- #1617 - Lazy imports
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
检查依赖声明,并在仓库中搜索 jsonschema 的使用,然后阅读依赖于它的验证路径。运行现有测试套件以确定受影响的行为;当该依赖不再被声明或导入,且验证测试仍然通过时,即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend-api-design
- Issue 类型
- 重构
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100