[CI][SOT] Remove package github
installation in CI and update SOT trigger file list
#63848
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.
PR Category
Environment Adaptation
PR Types
Bug fixes
Description
#63189 在
paddle_build.sh
添加pip install github
导致PR-CI-SOT
流水线在安装 3.11 依赖(run_setup
)的时候挂掉,如 https://xly.bce.baidu.com/paddlepaddle/paddle/newipipe/detail/10555965/job/26019581这里 Python 3.11 装了
github
,github
依赖aiohttp>=3.8.1
,虽然并不是很清楚 resolve 后仍然选择的是最低版本 aiohttp 3.8.1,但就 3.8.1 来看,明显是没有 Python 3.11 的预编译 wheel 包的,触发 build 导致挂掉(这个版本应该也没适配 Python 3.11,挂掉很正常)PyPI 里
github
这个包来自于 https://github.com/VarMonke/Github-Api-Wrapper,它与PyGithub
是有冲突的,它们同样通过import github
来使用,但使用方式完全不同,我们现有脚本里明显都是使用PyGithub
的,github
是没有用的,因此直接删掉就好了另外,没能成功拦截 #63189 的原因是 SOT CI 只对修改部分文件的情况下才会触发,而
paddle_build.sh
并不在其中,因此修改监控文件列表,避免类似问题PCard-66972