OpenQuizz
Une application de gestion des contenus pédagogiques
Resolver Class Reference
Inheritance diagram for Resolver:
Collaboration diagram for Resolver:

Public Member Functions

def __init__ (self, preparer, finder, wheel_cache, make_install_req, use_user_site, ignore_dependencies, ignore_installed, ignore_requires_python, force_reinstall, upgrade_strategy, py_version_info=None)
 
def resolve (self, root_reqs, check_supported_wheels)
 
def get_installation_order (self, req_set)
 

Data Fields

 factory
 
 ignore_dependencies
 
 upgrade_strategy
 

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  preparer,
  finder,
  wheel_cache,
  make_install_req,
  use_user_site,
  ignore_dependencies,
  ignore_installed,
  ignore_requires_python,
  force_reinstall,
  upgrade_strategy,
  py_version_info = None 
)

Member Function Documentation

◆ get_installation_order()

def get_installation_order (   self,
  req_set 
)
Get order for installation of requirements in RequirementSet.

The returned list contains a requirement before another that depends on
it. This helps ensure that the environment is kept consistent as they
get installed one-by-one.

The current implementation creates a topological ordering of the
dependency graph, while breaking any cycles in the graph at arbitrary
points. We make no guarantees about where the cycle would be broken,
other than they would be broken.

Reimplemented from BaseResolver.

◆ resolve()

def resolve (   self,
  root_reqs,
  check_supported_wheels 
)

Reimplemented from BaseResolver.

Field Documentation

◆ factory

factory

◆ ignore_dependencies

ignore_dependencies

◆ upgrade_strategy

upgrade_strategy

The documentation for this class was generated from the following file: