code: def resolve_deps(self, unresolved_deps):
      
      deps = OrderedSet()
      for dep in unresolved_deps:
        try:
          deps.update(self.context.resolve(dep))
        except AddressLookupError as e:
          raise AddressLookupError('{message}\n  on dependency {dep}'.format(message=e, dep=dep))
      return deps
docs: :API: public