This repository has been archived on 2026-10-31. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Ananta-ps/tools/python/Lib/site-packages/pip/_internal/resolution/base.py
T

20 lines
573 B
Python
Raw Normal View History

from collections.abc import Callable
from pip._internal.req.req_install import InstallRequirement
from pip._internal.req.req_set import RequirementSet
InstallRequirementProvider = Callable[
[str, InstallRequirement | None], 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()