【环境信息】
软件信息:
1) OS版本及分支:openEuler 23.03
2) 内核信息:6.1.8-3.0.0.10.oe2303
【操作步骤】
1、yum install python3-prometheus-api-client python3-yarg
【预期结果】安装成功
【实际结果】有冲突,安装失败
【附件信息】
repo:
[OS]
name=OS
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/OS/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/OS/$basearch/RPM-GPG-KEY-openEuler
[everything]
name=everything
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/everything/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/everything/$basearch/RPM-GPG-KEY-openEuler
[epol]
name=epol
baseurl=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/EPOL/main/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://121.36.84.172/dailybuild/EBS-openEuler-23.03/rc1_openeuler-2023-02-21-14-58-40/OS/$basearch/RPM-GPG-KEY-openEuler
Hi zhanglu626, 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: sig-python-modules, and any of the maintainers: @木得感情的openEuler机器人 , @yangzhao_kl , @myeuler , @caodongxia , @xu_ping
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
问题原因:python-prometheus-api-client和python-yarg 均打包了/usr/lib/python*/site-packages/tests目录 所以会存在文件名称一致的文件,故会导致冲突
经过排查分析,该test文件下属于pyc文件,是编译中间文件
解决办法:如上分析tests文件夹下均是pyc文件,属于编译产生的的过程文件,所以修复方法是打包的时候不打包tests文件夹
回归测试通过
登录 后才可以发表评论