Repository navigation
chore(deps): 批量合并 dependabot #346–#350 + actions/cache v6 - #351
Merged
Merged
Conversation
一次 PR 完成 6 个 dependabot 升级,避免 5 个 pip PR 各自把 requirements.lock.txt 按 .gitattributes 的 eol=crlf 整文件重写(每个 83 行噪声 diff,且逐个互相冲突)。 - fastapi 0.162.0 -> 0.162.2(patch;requirements.txt 的显式 pin 同步) - click 8.5.0 -> 8.5.1 - pydantic-core 2.50.2 -> 2.50.4 - typer 0.27.3 -> 0.28.0(minor;本仓库只在工具脚本里做 CLI 参数解析) - typing-inspection 0.4.4 -> 0.4.5 - actions/cache v4 -> v6(8 处;v5 起要求 runner >= 2.327.1,GH 托管 runner 已满足) 说明:requirements.txt 的 blob 原本是 CRLF(早于 .gitattributes 契约写入),git 在 add 时按 text 属性把它规范化为 LF,因此本次 diff 显示该文件整段重写;属一次性清理, 之后修改不再产生该噪声。 验证:本地 .venv 仍装旧版本,真实兼容性由 CI(pip install -r requirements.txt) 的全量门禁裁决;本地已跑 CI 定义/依赖清单相关守卫 116 passed。
This was referenced Nov 11, 2026
ROM4n2
added a commit
that referenced
this pull request
Nov 11, 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.
做法
把 6 个 dependabot PR 一次性合到本 PR,随后关闭原 PR。
原因:5 个 pip PR 每个都只改 1 行版本,但按
.gitattributes的eol=crlf会把requirements.lock.txt整文件重写(每个 83 行噪声 diff),且它们改同一文件必然逐个冲突、需要 6 轮 rebase + 6 轮 CI。变更
requirements.txt显式 pin 同步)requirements.txt顶部补了本次 bump 记录与风险面评估(与既有 2026-11-01 条目同格式)。需要知道的一点
requirements.txt的 blob 原本是 CRLF(早于.gitattributes契约写入),git 在 add 时按text属性规范化为 LF,因此本 PR 里该文件显示整段重写。属一次性清理,之后修改不再产生该噪声。验证
.venv仍是旧版本,没有本地验证新依赖的实际兼容性——这部分由 CI(pip install -r requirements.txt后跑全量门禁)裁决。