11 Star 0 Fork 24

src-openEuler / babel

 / 详情

[OBS] babel build problem in openEuler:23.09

Accepted
Bug
Opened this issue  
2023-08-04 12:34

Comments (3)

small_leek created缺陷

Hi small_leek, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Base-service, and any of the maintainers: @zhujianwei001 , @hexiaowen , @Monday , @谢志鹏 , @Lv Ying , @HuBin95 , @gaoruoshu , @znzjugod , @陈子扬 , @陈棋德

openeuler-ci-bot added
 
sig/Base-service
label
small_leek added
 
block
label
small_leek added
 
block
label

【python-sphinx】
sphinx是一个文档构建工具,babel依赖sphinx进行文档构建:
make SPHINXBUILD=sphinx-build-3 BUILDDIR="$BUILDDIR" html
文档构建时报错:
[ 168s] Exception occurred:
[ 168s] File "/usr/lib/python3.11/site-packages/sphinx/ext/extlinks.py", line 103, in role
[ 168s] title = caption % part
[ 168s] ~~~~~~~~^~~~~~
babel构建失败原因:
https://github.com/sphinx-doc/sphinx/issues/11094 已知问题,sphinx社区修复bug时将相关代码段删除
输入图片说明
删除后,openEuler社区也进行了同步升级:https://gitee.com/src-openeuler/python-sphinx/commit/8c5725cdd54e02c98bf0c042082588e25765a7c0
输入图片说明
【babel】
sphinx社区变更之后,babel也适配了构建失败变更:https://github.com/python-babel/babel/pull/924
输入图片说明
输入图片说明
可以通过升级babel到最新版本2.12.1解决

升级到2.12.1解决构建失败后,发现测试用例失败如下:
输入图片说明
上述失败的两处对应如下,babel社区已有补丁修复,回合该补丁解决测试用例失败的问题:
https://github.com/python-babel/babel/issues/988 解决测试用例中的时间格式问题
https://github.com/python-babel/babel/commit/8b152dbe47cb830f66ad12bd3057e6128aeac072

https://github.com/python-babel/babel/pull/1009 消除测试用例报警
https://github.com/python-babel/babel/commit/1747d2230a0294a07c99563cf50fb95a37b6ac0f

small_leek changed priority from Unimportant to Serious
ZhouPengcheng throughsrc-openeuler/babel Pull Request !30 changed issue state from 待办的 to 已完成
small_leek changed issue state from 已完成 to 已验收

Sign in to comment

Status
Assignees
Projects
Milestones
Pull Requests
Successfully merging a pull request will close this issue.
Branches
Planed to start   -   Planed to end
-
Top level
Priority
Duration (hours)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/babel.git
git@gitee.com:src-openeuler/babel.git
src-openeuler
babel
babel

Search