$14 GRAYBYTE WORDPRESS FILE MANAGER $93

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/commands/

HOME
Current File : /opt/alt/python311/lib/python3.11/site-packages/pip/_internal/commands//check.py
import logging
from optparse import Values
from typing import List

from pip._internal.cli.base_command import Command
from pip._internal.cli.status_codes import ERROR, SUCCESS
from pip._internal.operations.check import (
    check_package_set,
    create_package_set_from_installed,
)
from pip._internal.utils.misc import write_output

logger = logging.getLogger(__name__)


class CheckCommand(Command):
    """Verify installed packages have compatible dependencies."""

    usage = """
      %prog [options]"""

    def run(self, options: Values, args: List[str]) -> int:

        package_set, parsing_probs = create_package_set_from_installed()
        missing, conflicting = check_package_set(package_set)

        for project_name in missing:
            version = package_set[project_name].version
            for dependency in missing[project_name]:
                write_output(
                    "%s %s requires %s, which is not installed.",
                    project_name,
                    version,
                    dependency[0],
                )

        for project_name in conflicting:
            version = package_set[project_name].version
            for dep_name, dep_version, req in conflicting[project_name]:
                write_output(
                    "%s %s has requirement %s, but you have %s %s.",
                    project_name,
                    version,
                    req,
                    dep_name,
                    dep_version,
                )

        if missing or conflicting or parsing_probs:
            return ERROR
        else:
            write_output("No broken requirements found.")
            return SUCCESS


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
10 Feb 2026 9.37 AM
root / linksafe
0755
__pycache__
--
10 Feb 2026 9.37 AM
root / linksafe
0755
__init__.py
3.648 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
cache.py
7.348 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
check.py
1.646 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
completion.py
2.889 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
configuration.py
8.734 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
debug.py
6.474 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
download.py
4.789 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
freeze.py
2.882 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
hash.py
1.663 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
help.py
1.105 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
index.py
4.65 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
install.py
27.198 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
list.py
11.917 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
search.py
5.563 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
show.py
7.875 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
uninstall.py
3.443 KB
7 Jan 2026 11.10 PM
root / linksafe
0644
wheel.py
6.023 KB
7 Jan 2026 11.10 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF