|
|
|
|
|
by knucklesandwich
3618 days ago
|
|
One of the things that I've found to be important for (and generally under-documented by) package managers is resolution strategy. pip, for instance, eagerly resolves the highest version of a dependency first found in the tree and doesn't backtrack AFAIK [1]. Cargo sounds as though it behaves similarly, but will actually backtrack [2]. I've also seen package managers like 0install that will use SAT solvers to solve dependency constraints [3]. I've found lack of backtracking on conflicts to be frustrating, but I'm curious how the other two (and other conflict resolving strategies) compare in practice. [1]: https://github.com/pypa/pip/issues/988 [2]: http://doc.crates.io/cargo/core/resolver/index.html [3]: http://0install.net/solver.html |
|