관리-도구
편집 파일: check.cpython-311.pyc
� �܋f� � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZmZ d dl mZ e j e� � Z G d� d e� � ZdS ) � N)�Values)�List)�Command)�ERROR�SUCCESS)�check_package_set�!create_package_set_from_installed)�write_outputc �6 � e Zd ZdZdZdedee defd�Z dS )�CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]�options�args�returnc �b � t � � \ }}t |� � \ }}|D ]2}|| j }|| D ]} t d||| d � � ��3|D ]2}|| j }|| D ]\ } }}t d|||| |� � ��3|s|s|rt S t d� � t S )Nz*%s %s requires %s, which is not installed.r z-%s %s has requirement %s, but you have %s %s.zNo broken requirements found.)r r �versionr r r ) �selfr r �package_set� parsing_probs�missing�conflicting�project_namer � dependency�dep_name�dep_version�reqs �m/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib/python3.11/site-packages/pip/_internal/commands/check.py�runzCheckCommand.run s � �%F�%H�%H�"��]�0��=�=����#� � �L�!�,�/�7�G�%�l�3� � � ��@� ���q�M� � � � � � (� � �L�!�,�/�7�G�.9�,�.G� � �*��+�s��C� ����� � � � � � � �k� �]� ��L��8�9�9�9��N� N) �__name__� __module__�__qualname__�__doc__�usager r �str�intr � r r r r sN � � � � � �A�A� �E��6� ��c�� �s� � � � � � r r )�logging�optparser �typingr �pip._internal.cli.base_commandr �pip._internal.cli.status_codesr r �pip._internal.operations.checkr r �pip._internal.utils.miscr � getLoggerr �loggerr r&