resolver: stabilize output for tests (& users)
Otherwise the test_install_distribution_union_with_versions test can end
up with either:
Cannot install localextras[bar] 0.0.2 and localextras[baz] 0.0.1 because these package versions have conflicting dependencies.
or
Cannot install localextras[baz] 0.0.2 and localextras[bar] 0.0.1 because these package versions have conflicting dependencies.
@@ -421,7 +421,7 @@ class Factory(object):
triggers.append(trigger)
if triggers:
- info = text_join(triggers)
+ info = text_join(sorted(triggers))
else:
info = "the requested packages"
