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.
Evolution of Deprecated APIs and Their Replacements in Python Libraries
College of Computer Science and Technology, Nanjing University of Aeronautics and Astronautics(南京航空航天大学计算机科学与技术学院);Key Laboratory for Safety-critical Software Development and Verification, Nanjing University of Aeronautics and Astronautics(南京航空航天大学安全关键软件开发与验证重点实验室);State Key Laboratory for Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室)
Cross-Ecosystem Vulnerability Analysis for Python Applications
University of Athens(雅典大学);National Infrastructures for Research and Technology(国家研究与技术基础设施);Athens University of Economics and Business(雅典经济与商业大学);ETH Zurich(苏黎世联邦理工学院);Technical University of Crete(克里特理工大学)
Intertwining Ecosystems: A Large Scale Empirical Study of Libraries that Cross Software Ecosystems
各种技术栈和第三方库使用的增加导致开发人员不可避免地切换技术。为了帮助这些开发人员,维护人员已经开始将他们的库发布到多种技术,即,一个跨生态系统的图书馆我们的目标是探索这些跨生态系统库在生态系统之间交织的程度。我们对来自五个不同软件生态系统的110万个库进行了大规模的实证研究,即,PyPI for Python,CRAN for R,Maven for Java,RubyGems for Ruby,NPM for JavaScript,以确定4,146个GitHub项目,这些项目将库发布到这五个生态系统。分析他们的贡献,我们首先发现这些跨生态系统库的绝大多数贡献者(中位数为37.5%)来自单一生态系统,同时也从目标生态系统之外获得了很大一部分贡献(中位数为24.06%)。我们还发现,跨生态系统库是使用多种程序设计语言编写的。具体而言,三个(即,PyPI,CRAN,RubyGems)的大部分源代码都是使用非特定于该生态系统的语言编写的。随着生态系统变得相互交织,这为研究开辟了新的途径,例如跨生态系统库是否可以解决寻找替代库的问题,或者这些库如何适应每个生态系统。
Towards Understanding Third-party Library Dependency in C/C++ Ecosystem
第三方库(TPL)经常在软件中重用,以降低开发成本和上市时间。但是,外部库依赖性可能会在主机应用程序中引入漏洞。图书馆的依赖性问题已经引起了相当大的关注。许多包管理器,如Maven,Pip和NPM,被提议用于管理TPL。此外,大量的努力已经投入到研究语言生态系统中的依赖关系,如Java,Python和JavaScript(C/C++除外)。由于缺乏统一的C/C++包管理器,现有的研究对C/C++生态系统中的TPL依赖了解甚少,特别是在大规模的情况下。为了深入理解C/C++生态系统中的TPL依赖,本文收集了现有的TPL数据库、包管理工具和依赖检测工具,总结了C/C++项目的依赖模式,构建了一个全面而精确的C/C++依赖检测器。使用我们的检测器,我们从GitHub上包含24 K C/C++存储库的大型数据库中提取依赖关系。基于提取的依赖关系,我们提供了实证研究的结果和发现,其目的是了解第三方物流的依赖关系的特点。我们进一步讨论了C/C++依赖管理的意义以及未来软件工程研究人员和开发人员在库开发、软件组合分析和C/C++包管理等领域的研究方向。
PHOTONAI -- A Python API for Rapid Machine Learning Model Development
Institute for Translational Psychiatry, University of Münster(明斯特大学转化精神病学研究所);Faculty of Mathematics and Computer Science, University of Münster(明斯特大学数学与计算机科学学院)