paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystem

少即是多?Python PyPI 生态系统中配置问题的实证研究
ICSE Proceedings of the IEEE/ACM 46th International Conference on Software Engineering2024匹配度 2/10 · 论文聚焦 PyPI 生态中依赖配置与版本级兼容性检查的实证研究,属于软件工程/依赖管理方向;与用户核心关注的静态分析、Agentic/LLM 程序分析、浮点程序分析及贝叶斯程序分析均无直接交集。引用 6 inbox
Yun Peng, Ruida Hu, Ruoke Wang, Cuiyun Gao, Shuqing Li, Michael R. Lyu
crossref: 2026-09-12

AI 速览

一句话:通过实证研究揭示 PyPI 生态中库配置问题,表明仅靠版本级检查不足以保障运行时兼容。

Python 的流行很大程度上依赖 PyPI 生态中丰富的第三方库,但第三方库的使用可能引发依赖冲突。已有工作因此提出依赖冲突检测器,并尝试自动推断依赖;这些方法主要进行版本级检查和推断,并隐含假设 PyPI 生态中库的配置是正确的。本文对这一假设开展实证研究,发现其并非普遍成立,并进一步表明仅依赖版本级检查不足以确保运行时环境兼容。该结果对依赖管理工具与生态配置实践提出了警示,说明需要超越版本号、关注库配置与运行时兼容性的更全面机制。

问题
第三方库依赖冲突以及现有版本级检查与依赖推断方法对库配置正确的隐含假设;本文研究 PyPI 生态中配置问题是否使该假设失效。
方法
对 Python PyPI 生态中的库配置问题进行实证研究,分析现有版本级检查与依赖推断的局限。
评估
通过实证研究发现库配置假设并非普遍成立,且仅依赖版本级检查无法保证兼容的运行时环境。
原文摘要(Abstract)

Python is the top popular programming language used in the open-source community, largely owing to the extensive support from diverse third-party libraries within the PyPI ecosystem. Nevertheless, the utilization of third-party libraries can potentially lead to conflicts in dependencies, prompting researchers to develop dependency conflict detectors. Moreover, endeavors have been made to automatically infer dependencies. These approaches focus on version-level checks and inference, based on the assumption that configurations of libraries in the PyPI ecosystem are correct. However, our study reveals that this assumption is not universally valid, and relying solely on version-level checks proves inadequate in ensuring compatible run-time environments.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot11268,
  title = {Less is More? An Empirical Study on Configuration Issues in Python PyPI Ecosystem},
  author = {Yun Peng and Ruida Hu and Ruoke Wang and Cuiyun Gao and Shuqing Li and Michael R. Lyu},
  booktitle = {ICSE},
  year = {2024},
  doi = {10.1145/3597503.3639077}
}