Solving Package Management via Hypergraph Dependency Resolution
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.
Keywords
Cite
@article{arxiv.2506.10803,
title = {Solving Package Management via Hypergraph Dependency Resolution},
author = {Ryan Gibb and Patrick Ferris and David Allsopp and Michael Winston Dales and Mark Elvers and Thomas Gazagnaire and Sadiq Jaffer and Thomas Leonard and Jon Ludlam and Anil Madhavapeddy},
journal= {arXiv preprint arXiv:2506.10803},
year = {2025}
}
Comments
Submitted to SPLASH 2025