rez.resolver
- class rez.resolver.Resolver(context, package_requests, package_paths, package_filter=None, package_orderers=None, timestamp=0, callback=None, building=False, verbosity=False, buf=None, package_load_callback=None, caching=True, suppress_passive=False, print_stats=False)[source]
Bases:
objectThe package resolver.
The Resolver uses a combination of Solver(s) and cache(s) to resolve a package request as quickly as possible.
- property graph
Return the resolve graph.
The resolve graph shows unsuccessful as well as successful resolves.
- Returns
A pygraph.digraph object, or None if the solve has not completed.
- property resolved_ephemerals
Get the list of resolved ewphemerals.
- Returns
List of Requirement objects, or None if the resolve has not completed.
- property resolved_packages
Get the list of resolved packages.
- Returns
List of PackageVariant objects, or None if the resolve has not completed.
- property status
Return the current status of the resolve.
- Returns
ResolverStatus.