PHP 8.2.30
Preview: base.py Size: 583 B
/opt/alt/python310/lib/python3.10/site-packages/pip/_internal/resolution/base.py

from typing import Callable, List, Optional

from pip._internal.req.req_install import InstallRequirement
from pip._internal.req.req_set import RequirementSet

InstallRequirementProvider = Callable[
    [str, Optional[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()

Directory Contents

Dirs: 3 × Files: 2

Name Size Perms Modified Actions
legacy DIR
- drwxr-xr-x 2026-02-10 08:08:40
Edit Download
- drwxr-xr-x 2026-02-10 08:08:40
Edit Download
- drwxr-xr-x 2026-02-10 08:08:40
Edit Download
583 B lrw-r--r-- 2026-01-09 15:17:41
Edit Download
0 B lrw-r--r-- 2026-01-09 15:17:41
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).