Skip to content

Conversation

@SigureMo
Copy link
Member

@SigureMo SigureMo commented Jan 29, 2026

安装依赖时显式使用清华源以避免 Paddle docs preview 默认使用的百度源无法找到 loguru 等依赖而挂掉

https://github.com/PaddlePaddle/Paddle/actions/runs/21470690511/job/61892395250?pr=77493

image

@LittleHeroZZZX #7701 又把 CI 搞挂了……

cc @ooooo-create @swgu98

Copilot AI review requested due to automatic review settings January 29, 2026 16:35
@paddle-bot
Copy link

paddle-bot bot commented Jan 29, 2026

感谢你贡献飞桨文档,文档预览构建中,Docs-New 跑完后即可预览,预览链接:http://preview-pr-7706.paddle-docs-preview.paddlepaddle.org.cn/documentation/docs/zh/api/index_cn.html
预览工具的更多说明,请参考:飞桨文档预览工具

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a CI failure in the documentation build process by explicitly specifying the Tsinghua PyPI mirror when installing Python dependencies (loguru and sphobjinv). The failure was caused by the default Baidu source being unable to find certain packages.

Changes:

  • Added -i https://pypi.tuna.tsinghua.edu.cn/simple flag to the pip install command in the pre-doc-compile hook script

Copy link
Collaborator

@ooooo-create ooooo-create left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SigureMo SigureMo merged commit 060061a into PaddlePaddle:develop Jan 29, 2026
10 checks passed
@SigureMo SigureMo deleted the ci/use-tsinghua-index-when-install-deps branch January 29, 2026 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants