kirancodes.me
To Proof Maintenance & Beyond!

Knowledge-Based Environment Dependency Inference for Python Programs

Hongjie Ye, Wei Chen, Wensheng Dou, Guoquan Wu, Jun Wei

Abstract

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.

BibTeX
@inproceedings{Ye-al:ICSE22,
  author    = {Hongjie Ye and
               Wei Chen and
               Wensheng Dou and
               Guoquan Wu and
               Jun Wei},
  title     = {{Knowledge-Based} Environment Dependency Inference for Python Programs},
  booktitle = {ICSE},
  pages     = {1245--1256},
  publisher = {{ACM}},
  year      = {2022},
}

Related papers