You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
557 B
18 lines
557 B
from typing import Callable, List |
|
|
|
from pip._internal.req.req_install import InstallRequirement |
|
from pip._internal.req.req_set import RequirementSet |
|
|
|
InstallRequirementProvider = Callable[[str, InstallRequirement], InstallRequirement] |
|
|
|
|
|
class BaseResolver: |
|
def resolve( |
|
self, root_reqs: List[InstallRequirement], check_supported_wheels: bool |
|
) -> RequirementSet: |
|
raise NotImplementedError() |
|
|
|
def get_installation_order( |
|
self, req_set: RequirementSet |
|
) -> List[InstallRequirement]: |
|
raise NotImplementedError()
|
|
|