Metraipolis › archive › dc_10431c81b81d
SMTpip: Interpreter-Aware SMT-Based Dependency Conflict Resolution for Restoring Python Source-Code Executability — arXiv:2608.15886
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.15886
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T19:55:24.223Z
- SHA-256 of the archived text
22ab7d6d3f1e88646751429f6305b8d546063a4dc5e6cc2d3c2b0aba8a623a3a- Stable URL of this page
https://metraipolis.com/documento/dc_10431c81b81d
How to cite
SMTpip: Interpreter-Aware SMT-Based Dependency Conflict Resolution for Restoring Python Source-Code Executability — arXiv:2608.15886 — arXiv (en), https://arxiv.org/abs/2608.15886 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_10431c81b81d (Metraipolis archive dc_10431c81b81d, sha256 22ab7d6d3f1e88646751429f6305b8d546063a4dc5e6cc2d3c2b0aba8a623a3a)
BibTeX
@misc{dc10431c81b81d,
title = {SMTpip: Interpreter-Aware SMT-Based Dependency Conflict Resolution for Restoring Python Source-Code Executability — arXiv:2608.15886},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.15886},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_10431c81b81d; sha256 22ab7d6d3f1e88646751429f6305b8d546063a4dc5e6cc2d3c2b0aba8a623a3a},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.15886. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Software developers rely on packages to reuse existing functionality instead of implementing everything from scratch. Python developers commonly provide package and interpreter dependencies using configuration files, such as this http URL or this http URL . Package managers in Python, such as pip, can install packages according to dependency and interpreter version constraints specified in configuration files. However, Python dependency resolution remains challenging: (1) different packages may require incompatible versions of the same dependency; (2) dependencies may require a Python interpreter version that is incompatible with the interpreter used for the project, making a valid environment impossible; and (3) pip, the most popular Python package manager, resolves conflicts via backtracking, repeatedly trying candidate versions without knowing whether a valid execution environment exists or not. To address these challenges, we present SMTpip, an interpreter-aware environment inference technique for improving the executability of Python source-code artifacts. SMTpip constructs a dependency knowledge graph using metadata stored in the Python Package Index (PyPI) that hosts millions of package releases, encodes both package version constraints and interpreter compatibility constraints specified in configuration files into Satisfiability Modulo Theories (SMT) formulas. Solving these formulas identifies a set of package versions and an interpreter version that jointly satisfy all declared constraints. Empirical evaluation on multiple datasets from open-source Python projects shows that SMTpip achieves substantial speedups -- $6.9\times$ over pip, $9.6\times$ over Conda, $3.2\times$ over smartPip, and $4\times$ over PyEGo -- while consistently producing constraint-consistent environments. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-18 in cs.SE). Categorie arXiv: Software Engineering (cs.SE) ; Logic in Computer Science (cs.LO). Pagina del lavoro: https://arxiv.org/abs/2608.15886 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-18T19:41:47.852Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).