deps: 升级 uv 工具链依赖并修复 CI - #522
Open
dependabot[bot] wants to merge 2 commits into
Open
Conversation
Updates the requirements on [mypy](https://github.com/python/mypy), [ruff](https://github.com/astral-sh/ruff) and [setuptools-scm[toml]](https://github.com/pypa/setuptools-scm) to permit the latest version. Updates `mypy` from 1.20.2 to 2.3.1 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.20.2...v2.3.1) Updates `ruff` from 0.15.22 to 0.16.4 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@0.15.22...0.16.4) Updates `setuptools-scm[toml]` to 10.2.1 - [Release notes](https://github.com/pypa/setuptools-scm/releases) - [Changelog](https://github.com/pypa/setuptools-scm/blob/main/RELEASE_SYSTEM.md) - [Commits](pypa/setuptools-scm@v8.0.0...setuptools-scm-v10.2.1) --- updated-dependencies: - dependency-name: mypy dependency-version: 2.3.1 dependency-type: direct:production update-type: version-update:semver-major dependency-group: uv-all-updates - dependency-name: ruff dependency-version: 0.16.4 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: uv-all-updates - dependency-name: setuptools-scm[toml] dependency-version: 10.2.1 dependency-type: direct:development dependency-group: uv-all-updates ... Signed-off-by: dependabot[bot] <support@github.com>
Collaborator
|
CI 修复已推送至 新触发的 GitHub Actions run https://github.com/Intelligent-Internet/opencode-a2a/actions/runs/33352474662 未执行任何步骤;check annotation 明确显示: 请有权限的维护者解除 GitHub Actions 计费锁定后执行 |
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.
背景
升级 uv 依赖组:
mypy:1.20.2 → 2.3.1ruff:0.15.22 → 0.16.4setuptools-scm[toml]:升级至 10.2.1审查结论
该升级仍然合理且有效。原 CI 的四个失败 job 均由同一处过期测试契约导致:
pyproject.toml已将setuptools-scm的受控上限更新为<11,但测试仍断言<10。mypy 2.3.1 与 ruff 0.16.4 在当前代码上均已通过。修复采用最小变更:同步测试中的下一主版本上限,并修正测试函数名中的拼写问题;不回退依赖版本,也不放宽其他质量门禁。完整构建与 wheel smoke test 已验证 setuptools-scm 10.x 与当前打包流程兼容。
变更内容
setuptools-scm<10更新为setuptools-scm<11。test_build_backend_pins_setuptools_scm_below_next_major_version。相关 open issues 评估
已检查当前 open issues #519、#515、#451。它们分别涉及 Python API facade、A2A SDK 升级和 push config persistence,与本次开发工具链依赖升级及测试契约修复没有足够强的实现耦合,不建议并入本分支。
验证
./scripts/doctor.sh