首页> 外文会议>IEEE/ACM International Conference on Software Engineering >Watchman: Monitoring Dependency Conflicts for Python Library Ecosystem
【24h】

Watchman: Monitoring Dependency Conflicts for Python Library Ecosystem

机译:守望者:监视Python库生态系统的依赖冲突

获取原文
获取外文期刊封面目录资料

摘要

The PyPI ecosystem has indexed millions of Python libraries to allow developers to automatically download and install dependencies of their projects based on the specified version constraints. Despite the convenience brought by automation, version constraints in Python projects can easily conflict, resulting in build failures. We refer to such conflicts as Dependency Conflict (DC) issues. Although DC issues are common in Python projects, developers lack tool support to gain a comprehensive knowledge for diagnosing the root causes of these issues. In this paper, we conducted an empirical study on 235 real-world DC issues. We studied the manifestation patterns and fixing strategies of these issues and found several key factors that can lead to DC issues and their regressions. Based on our findings, we designed and implemented Watchman, a technique to continuously monitor dependency conflicts for the PyPI ecosystem. In our evaluation, Watchman analyzed PyPI snapshots between 11 Jul 2019 and 16 Aug 2019, and found 117 potential DC issues. We reported these issues to the developers of the corresponding projects. So far, 63 issues have been confirmed, 38 of which have been quickly fixed by applying our suggested patches.
机译:PYPI Ecosystem已索引数百万个Python库,以允许开发人员根据指定的版本约束自动下载和安装项目的依赖项。尽管自动化带来的便利性,但Python项目中的版本限制可以很容易地冲突,从而导致构建故障。我们将这种冲突视为依赖冲突(直流)问题。虽然DC问题在Python项目中很常见,但开发人员缺乏工具支持,以获得诊断这些问题的根本原因的全面知识。在本文中,我们对235个现实DC问题进行了实证研究。我们研究了这些问题的表现模式和修复策略,发现了几个可能导致DC问题及其回归的关键因素。基于我们的研究结果,我们设计和实施了守望人,这是一种不断监控PYPI生态系统的依赖冲突的技术。在我们的评估中,Watchman在2019年7月11日至2019年8月11日之间分析了PYPI快照,并发现了117个潜在的DC问题。我们向相应项目的开发人员报告了这些问题。到目前为止,已确认了63个问题,其中38个通过应用我们建议的补丁已经快速修复。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号