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.
Topics & Concepts
Python (programming language)Computer scienceInterpreterProgramming languageInferenceDependency graphSoftware engineeringTheoretical computer scienceSoftwareArtificial intelligenceSoftware Engineering ResearchSoftware Testing and Debugging TechniquesScientific Computing and Data Management