fix(ci): selftest-weekly 补 pydantic-settings (周自检长期红修复)#156
Merged
Conversation
根因: pydantic-settings / typer / rich / loguru 等是 runtime 必需, 但 config/requirements.txt 里被标 [可选] 注释掉。 selftest-weekly 之前只 pip install litellm,启动 runtime 即 ModuleNotFoundError: No module named pydantic_settings → 周自检长期红。 对齐 PR #147 (pytest-unit) / 配置一致性: 加 pydantic-settings, typer, rich, loguru, defusedxml, fastapi, python-multipart, httpx。 后续可考虑 PR #b: config/requirements.txt 把 runtime 核心从 [可选] 提到 [稳定层] 真正治本。
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.
selftest-weekly 长期 red 根因:
ModuleNotFoundError: No module named pydantic_settings。runtime 核心依赖 (pydantic-settings / typer / rich / loguru / defusedxml / fastapi / python-multipart / httpx) 在 config/requirements.txt 里被标 [可选] 注释掉,selftest-weekly 之前只补 litellm,启动 runtime 即炸。对齐 PR #147 pytest-unit job 的 install 列表。后续可单独 PR 修 config/requirements.txt 把 runtime 核心从 [可选] 提到 [稳定层]。