Repository navigation
fix(deps): upgrade SDK and enforce standalone install requirements - #530
Merged
Merged
Conversation
This was referenced Sep 29, 2026
Collaborator
Author
独立变更审查结论针对 main 到本 PR 的完整 diff、全部提交和 #515/#529 验收要求重新复核,未发现尚未解决的阻断性问题。依赖声明、lockfile、发布安装行为和文档保持一致。 本轮发现并在 0ea6834 中修复两处验证缺口:
验证:doctor 全通过(829 项测试,93.33% 覆盖率);独立 protobuf 6 环境 829 项通过;当前提交远端 5 项检查全部通过。未执行真实 OpenCode 上游集成测试。 PR 已采用英文 commit message 风格标题和中文描述。Closes #515/#529 准确,#515 原始版本目标已同步为 1.1.5;#527/#528 标为被替代,#519/#451 不关闭。全部改动已提交并推送,PR 保持 Draft 待人工审核。 |
Collaborator
Author
|
已随 v1.3.3 发布:tag 指向合并后的 main 提交 7f98948;自动发布工作流完整通过,PyPI 与 GitHub Release 发布成功,wheel、sdist 和 SHA256SUMS 齐全。Release 说明已按此前风格整理为三个不重复的主要变化。旧开发 worktree 与本地分支已在核实内容全部进入 main 后清理,主目录停留在最新 main。发布地址:https://github.com/Intelligent-Internet/opencode-a2a/releases/tag/v1.3.3 |
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
问题与结果
#527 升级依赖后,独立安装 wheel 会解析到 SQLAlchemy 2.1,并因缺少 greenlet 而启动失败。依赖审计同时发现,click/pyasn1 的安全版本下限只存在于 uv 仓库配置,未进入发布包元数据。
本 PR 整合 #527、#528,并完成 #515 的 SDK 升级与兼容层审计:发布包明确声明异步数据库依赖及安全版本下限,支持经过验证的 protobuf 6/7,持续验证两条 protobuf 版本线。
实现
sqlalchemy[asyncio]>=2.0,<3.0,使独立 wheel/sdist 安装自动获得 greenlet。click>=8.3.3、pyasn1>=0.6.4移至运行依赖,移除重复的 uv 专用 constraints,确保安全下限写入发布包Requires-Dist。>=6.33.5,<8.0,锁定至 7.36.2;移除基于旧 SDK 限制的 Dependabot ignore。UV_NO_SYNC=1防止测试及嵌套协议探针同步回锁定的 protobuf 7。兼容性审查
DatabaseTaskStoreCompat:SDK 的数据库保存仍采用无终态保护的 ORM merge,本项目需要原子 first-terminal-state-wins;shape、ORM 转换、跨实例终态保护回归通过。service_parameters,由真实 HTTP 请求边界回归覆盖。google.protobuf.*、jsonrpc.*typing overrides:移除后的独立 mypy 核查报告 18 个缺少第三方类型信息的导入错误。验证
./scripts/doctor.sh完整通过:pre-commit 无自动修改、mypy(88 个源文件)、829 项测试、93.33% 覆盖率及门槛、构建、独立 wheel 安装和/health检查。click==8.3.2、pyasn1==0.6.3;对回归测试注入 Linux/Python 版本/dev extra 条件,确认修复后均会拒绝条件化安全下限。uv lock --check、git diff --check通过。最新提交
0ea6834的远端 CI 全部通过:默认工具链、Python 3.11/3.12/3.13 矩阵及新增 protobuf 6 兼容性检查。未执行真实 OpenCode 上游集成测试;独立安装按声明的版本范围解析,仍可能与仓库锁定版本不同,因此保留构建产物冒烟检查。Issue 关系
Closes #529
Closes #515
保持 Draft,等待人工审核与合并。