ICSE2022
Knowledge-Based Environment Dependency Inference for Python Programs
Hongjie Ye, Wei Chen, Wensheng Dou, Guoquan Wu, Jun Wei
被引用 21 次
摘要
Besides third-party packages, the Python interpreter and system libraries are also critical dependencies of a Python program. In our empirical study, 34% programs are only compatible with specific Python interpreter versions, and 24% programs require specific system libraries. However, existing techniques mainly focus on inferring third-party package dependencies. Therefore, they can lack other necessary dependencies and violate version constraints, thus resulting in program build failures and runtime errors.