Pull Request已成功合入, 合并人@CANN-robot
(感谢 liu-wei 的贡献)Thanks for your pull-request.
The full list of commands accepted by me can be found at here。
You can get sig-info at here
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| repo-cann/ops-cv | ✅ zhou-qilong, loov1 (2/2) | ✅ zhou-qilong (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)


问题/功能描述
本次PR旨在提升项目依赖管理和测试环境的跨平台兼容性与完备性。主要解决了原依赖安装脚本对特定Linux发行版(如openEuler/EulerOS)支持不完整、部分系统及Python依赖缺失,以及脚本提示信息为中文的问题。通过更新脚本和依赖列表,为项目开发和测试提供了更标准化、更全面的环境支持。
修改方案描述
主要更新了依赖安装脚本 (install_deps.sh) 和Python依赖包列表。脚本方面:将所有提示信息国际化(中译英),简化并统一了Linux发行版检测逻辑(聚焦Debian与RHEL家族),新增了googletest库的自动化安装支持(支持包管理器或源码编译),并进行了多项细节优化(如统一GCC版本提取、确保make工具安装等)。依赖列表方面:在主requirements.txt和测试tests/requirements.txt中分别新增了setuptools、sympy、attrs、numpy、scipy、psutil等必要的Python包,以完善开发和测试环境。


需要修改。
compile


流水线任务触发成功 [流水线指导]
任务链接 [0f3ddd2599494dcf8e5758739fac5231]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| Smoke_A900 | ✅ SUCCESS | >>>>> | >>>>> |
| API_Check | ✅ SUCCESS | >>>>> |
[2026-02-09 14:56:02] CI执行结束


compile


流水线任务触发成功 [流水线指导]
任务链接 [c2dfba5ad0ec46e4838b8b91fbb4b31c]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | ||
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ⏳ waiting | >>>>> | |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test | ⏳ waiting | ||
| Smoke_A900 | ⏳ waiting | >>>>> | |
| API_Check | ⏳ waiting | >>>>> |


compile


流水线任务触发成功 [流水线指导]
任务链接 [983177c6e6e549ba9af64d3b5cd9deb4]
| 任务名称 | 状态 | 日志 | 下载链接 |
|---|---|---|---|
| codecheck | ✅ SUCCESS | >>>>> | |
| SCA | ✅ SUCCESS | >>>>> | |
| anti_virus | ✅ SUCCESS | >>>>> | |
| Check_Pr | ✅ SUCCESS | >>>>> | |
| Compile_Ascend_X86 | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_X86_mobile_station | ✅ SUCCESS | >>>>> | >>>>> |
| Compile_Ascend_ARM | ✅ SUCCESS | >>>>> | >>>>> |
| pre_comment | ✅ SUCCESS | >>>>> | |
| UT_Test | ✅ SUCCESS | ||
| Smoke_A900 | ✅ SUCCESS | >>>>> | >>>>> |
| API_Check | ✅ SUCCESS | >>>>> |
[2026-02-09 16:13:45] CI执行结束


Review Guide
This pull-request passes review.
Committers who wrote a comment of /approve are: zhou-qilong.
Reviewers who wrote a comment of /lgtm are: loov1, zhou-qilong.


描述
完善工具依赖文档和更新依赖安装脚本
关联的Issue
https://gitcode.com/cann/ops-cv/issues/94
测试
功能测试:
常规测试:
文档更新
工具依赖的txt更新
类型标签