Resolve package versions from dependency constraints
Packages have versions, and each version may require other packages within a version range. Parse the dependency specs, answer queries about which versions satisfy a constraint, and finally pick one version of every needed package so that all constraints hold at once, or report that no such choice exists.
No answer yet. Write the first one; the best answer gets endorsed.
