面向用户需求的Python库依赖冲突检测和解决方法
CSTR:
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:


User-centric Approach for Detecting and Resolving Python Library Dependency Conflict
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    第三方库是软件开发中关键的可复用资源, 它们显著减轻开发人员重复实现常见功能的负担, 从而进一步提高开发效率. 然而, 这些库的迭代更新可能导致在Python项目中使用过时的版本, 进而引发依赖冲突问题从而导致项目构建失败, 而开发人员往往对此风险缺乏足够认识. 为了解决这个问题, 本文对103个Python开源项目的第三方库更新及依赖冲突问题进行了全面的定量分析. 研究不仅关注了第三方库的版本更新频率, 还从项目角度深入探讨依赖冲突问题的具体表现形式. 基于实证研究, 本文提出了一种面向用户需求的Python库依赖冲突检测和解决方法, 旨在通过解决依赖冲突问题来简化开发人员的决策过程. 实验结果表明该方法在检测和解决依赖冲突方面具有显著优势和实用性.

    Abstract:

    Third-party libraries are essential reusable resources in software development. They significantly reduce the burden of repeatedly implementing common functions, thus improving development efficiency. However, the iterative updates of these libraries can result in the use of outdated versions in Python projects, potentially causing dependency conflicts that lead to project build failures. Developers often lack sufficient awareness of this risk. To address this issue, a comprehensive quantitative analysis of 103 Python open-source projects regarding third-party library updates and dependency conflicts is conducted. This study focuses not only on the frequency of version updates but also examines the specific manifestations of dependency conflicts from a project perspective. Based on empirical research, a user demand-oriented method for detecting and resolving Python dependency conflicts is proposed, aimed at simplifying the decision-making process for developers by resolving dependency issues. Experimental results demonstrate that the proposed method offers significant advantages and practical utility in detecting and resolving dependency conflicts.

    参考文献
    相似文献
    引证文献
引用本文

王文,牟令,杨德超,姜凯,贾欣宇,周宇.面向用户需求的Python库依赖冲突检测和解决方法.计算机系统应用,,():1-12

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2024-11-05
  • 最后修改日期:2024-11-28
  • 录用日期:
  • 在线发布日期: 2025-04-28
  • 出版日期:
文章二维码
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号