Skip to content

deps: 升级 uv 工具链依赖并修复 CI - #522

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/uv/uv-all-updates-4fa19471f0
Open

deps: 升级 uv 工具链依赖并修复 CI#522
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/uv/uv-all-updates-4fa19471f0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 27, 2026

Copy link
Copy Markdown
Contributor

背景

升级 uv 依赖组:

  • mypy:1.20.2 → 2.3.1
  • ruff:0.15.22 → 0.16.4
  • setuptools-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
    • 826 tests passed
    • 总覆盖率 93.33%
    • pre-commit、ruff、mypy、依赖兼容检查、包构建及 built-wheel smoke test 全部通过

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>
@liujuanjuan1984 liujuanjuan1984 changed the title deps: bump the uv-all-updates group with 3 updates deps: 升级 uv 工具链依赖并修复 CI Aug 31, 2026
@liujuanjuan1984

Copy link
Copy Markdown
Collaborator

CI 修复已推送至 a1fda24。本地 ./scripts/doctor.sh 已完整通过(826 tests passed、覆盖率 93.33%,pre-commit、ruff、mypy、依赖兼容、包构建及 built-wheel smoke test 均通过)。

新触发的 GitHub Actions run https://github.com/Intelligent-Internet/opencode-a2a/actions/runs/33352474662 未执行任何步骤;check annotation 明确显示:The job was not started because your account is locked due to a billing issue.。因此当前红灯是仓库/组织的 Actions 计费状态阻塞,并非测试或代码失败。

请有权限的维护者解除 GitHub Actions 计费锁定后执行 gh run rerun 33352474662 --failed,再确认四个检查转绿。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant