Skip to content

chore: align Python target and refresh dependencies - #118

Merged
jubaoliang merged 3 commits into
TencentCloud:developfrom
luojiyin1987:feature/dependency-python312-alignment
Aug 2, 2026
Merged

chore: align Python target and refresh dependencies#118
jubaoliang merged 3 commits into
TencentCloud:developfrom
luojiyin1987:feature/dependency-python312-alignment

Conversation

@luojiyin1987

Copy link
Copy Markdown

Closes #117.

Summary

  • Align Ruff, release CI, and project documents with Python 3.12.
  • Refresh compatible direct and transitive dependencies.
  • Keep boto3 at 1.40.61 because aiobotocore requires a version below 1.40.62.
  • Keep MCP below version 2 because langchain-mcp-adapters still imports removed MCP 1.x APIs.
  • Update generic syntax for the new Ruff rules.
  • Add explicit typing for resolved socket addresses.
  • Make one desktop test independent of Wayland environment variables.

Impact

The supported Python version is now consistent across package metadata, tooling, CI, and documents.

FastAPI updates from 0.138.2 to 0.141.1. Anthropic updates from 0.113.0 to 0.120.2.

The Ruff configuration excludes Markdown files. This preserves the prior Python-focused format scope.

Validation

  • make all
  • Ruff check passed.
  • Ruff format checked 645 files.
  • mypy passed for 342 source files.
  • pytest passed 1564 tests.
  • pytest skipped 7 tests and deselected 31 live tests.
  • git diff --check passed.

@luojiyin1987
luojiyin1987 marked this pull request as ready for review July 31, 2026 15:06
@jubaoliang

Copy link
Copy Markdown
Collaborator

这个要向 develop 分支提交pr,待整体验证到过后由流水线自动合并到main, 不允许直接往main提交pr

@luojiyin1987
luojiyin1987 changed the base branch from main to develop August 1, 2026 03:03
@luojiyin1987

Copy link
Copy Markdown
Author

抱歉, 没细看贡献指南

@jubaoliang
jubaoliang merged commit 5912167 into TencentCloud:develop Aug 2, 2026
3 checks passed
@luojiyin1987
luojiyin1987 deleted the feature/dependency-python312-alignment branch August 2, 2026 03:25
@jubaoliang jubaoliang mentioned this pull request Aug 2, 2026
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align Python 3.12 tooling and refresh compatible dependencies

2 participants