arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.10327cs.SE
收藏

Python生态系统中包级弃用的实证研究

An Empirical Study on Package-Level Deprecation in Python Ecosystem

Zhiqing Zhong, Shilin He, Haoxuan Wang, Boxi Yu, Haowen Yang, Pinjia He

AI总结:

本研究通过混合方法实证调查Python生态系统中包级弃用的现状,发现开发者与用户之间存在显著差距,并提出改进弃用实践以促进包无缝交接的建议。

摘要:

开源软件(OSS)在现代软件开发中扮演着至关重要的角色。利用开源软件代码可以极大地加速软件开发、减少冗余并增强可靠性。Python作为一种广泛采用的编程语言,以其庞大且多样化的第三方包生态系统而闻名。然而,Python生态系统中大量的开源软件包维护状况不佳,导致功能和安全性方面存在潜在风险。因此,建立一种弃用机制以协助包开发者和用户有效管理包是至关重要的。\n\n为了促进包级弃用机制的建立,本文提出了一项混合方法的实证研究,包括数据分析和调查。我们调查了Python生态系统中包级弃用的宣布、接收和处理现状。我们还评估了为维护不活跃的包发布弃用公告的益处。此外,我们调查了包开发者和用户面临的挑战以及他们对未来弃用实践的期望。我们的研究结果显示,75.4%的不活跃包开发者出于各种原因无意发布弃用声明,而89.5%的用户表示希望收到关于弃用的通知,这凸显了开发者与用户之间的差距;在许多情况下,当弃用发生时没有可用的替代解决方案,这强调了探索能够实现无缝包交接且需要较少维护工作的实用方法的必要性。我们的工作旨在增强对Python开源领域内现有包级弃用模式的理解,并促进未来Python社区弃用实践的发展。

英文摘要:

Open-source software (OSS) plays a crucial role in modern software development. Utilizing OSS code can greatly accelerate software development, reduce redundancy, and enhance reliability. Python, a widely adopted programming language, is renowned for its extensive and diverse third-party package ecosystem. However, a significant number of OSS packages within the Python ecosystem are in poor maintenance, leading to potential risks in functionality and security. Consequently, it is essential to establish a deprecation mechanism to assist package developers and users in managing packages effectively. To facilitate the establishment of the package-level deprecation mechanism, this paper presents a mixed-method empirical study, including data analysis and surveys. We investigate the current practices of announcing, receiving, and handling package-level deprecation in the Python ecosystem. We also assess the benefits of having deprecation announcements for inactively maintained packages. Furthermore, we investigate the challenges faced by package developers and users and their expectations for future deprecation practices. Our findings reveal that 75.4% of inactive package developers have no intention of releasing deprecation declarations for various reasons, while 89.5% of users express a desire to be notified about the deprecation, highlighting a gap between developers and users; in many cases, no alternative solutions are available when deprecation occurs, emphasizing the need to explore practical approaches that enable seamless package handover and require less maintenance effort. Our work aims to enhance the understanding of existing package-level deprecation patterns within the Python OSS realm and facilitate the development of deprecation practices for the Python community in the future.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑