feat: 使用 uv 锁定主程序依赖并强化插件恢复边界 - #6364
Merged
jxxghp merged 3 commits intoAug 20, 2026
Merged
Conversation
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.
目标
为 V3 主程序建立可复现的 uv 依赖安装链路,同时保留历史插件清单兼容,并收口本地安装与插件依赖恢复的边界。
主要改动
pyproject.toml与uv.lock管理主程序运行依赖,Docker 与本地安装统一使用锁定依赖。requirements.txt兼容;extras、传递依赖和 direct URL 会按实际安装制品校验。--recreate重建虚拟环境时,安装脚本不会由即将删除的目标 venv 解释器执行,覆盖默认、自定义--venv以及显式解释器参数。验证
5085 passed, 3 skipped9.98/10;剩余 46 个no-name-in-module为当前上游基线错误,本次未新增bash -n、Python 编译检查、git diff --check均通过历史插件仍可使用
requirements.txt,现代插件可迁移到pyproject.toml,不会要求插件立即改造。