Solving Package Management via Hypergraph Dependency Resolution

πŸ“… 2025-06-12
πŸ“ˆ Citations: 0
✨ Influential: 0
πŸ“„ PDF
πŸ€– AI Summary
Multilingual projects suffer from three core challenges: absence of cross-ecosystem dependency modeling, lack of versioning for external system/hardware dependencies, and poor interoperability among package managers. This paper introduces HyperResβ€”the first formal dependency resolution system that unifies multilingual and multisystem dependencies into a verifiable hypergraph model. Its contributions are threefold: (1) an environment-aware, versioned dependency model grounded in hypergraph theory, explicitly representing implicit system- and hardware-level dependencies; (2) a bidirectional metadata translation framework enabling zero-migration interoperability across dozens of package managers (e.g., npm, pip, apt); and (3) a hybrid solving strategy integrating constraint satisfaction problem (CSP) techniques with environment-specialized algorithms to achieve consistent, precise cross-ecosystem dependency resolution. Empirical evaluation demonstrates that HyperRes significantly improves reliability and reproducibility in multilingual environment construction.

Technology Category

Application Category

πŸ“ Abstract
Package managers are everywhere, with seemingly every language and operating system implementing their own solution. The lack of interoperability between these systems means that multi-lingual projects are unable to express precise dependencies across language ecosystems, and external system and hardware dependencies are typically implicit and unversioned. We define HyperRes, a formal system for describing versioned dependency resolution using a hypergraph that is expressive enough to model many ecosystems and solve dependency constraints across them. We define translations from dozens of existing package managers to HyperRes and comprehensively demonstrate that dependency resolution can work across ecosystems that are currently distinct. This does not require users to shift their choice of package managers; instead, HyperRes allows for the translation of packaging metadata between ecosystems, and for solving to be precisely specialised to a particular deployment environment.
Problem

Research questions and friction points this paper is trying to address.

Lack of interoperability between package managers
Difficulty in expressing cross-language dependencies
Implicit and unversioned external system dependencies
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hypergraph models multi-ecosystem dependencies
Translates existing package managers to HyperRes
Solves dependencies without changing managers
πŸ”Ž Similar Papers
No similar papers found.
R
Ryan Gibb
University of Cambridge, United Kingdom
P
Patrick Ferris
University of Cambridge, United Kingdom
D
David Allsopp
Tarides, United Kingdom
M
Michael Dales
University of Cambridge, United Kingdom
M
Mark Elvers
Tarides, United Kingdom
Thomas Gazagnaire
Thomas Gazagnaire
Tarides
distributed systemsfunctional programming
S
S. Jaffer
University of Cambridge, United Kingdom
T
Thomas Leonard
University of Cambridge, United Kingdom
J
Jon Ludlam
Tarides, United Kingdom
Anil Madhavapeddy
Anil Madhavapeddy
Professor of Planetary Computing, University of Cambridge
Computer Science