관리-도구
편집 파일: check.cpython-312.pyc
� G��e� � � � d dl Z d dlmZ d dlmZ d dlmZ d dlmZm Z d dl mZmZm Z d dlmZ e j e� Z G d� d e� Zy) � N)�Values)�List)�Command)�ERROR�SUCCESS)�check_package_set�!create_package_set_from_installed�#warn_legacy_versions_and_specifiers)�write_outputc �. � e Zd ZdZdZdedee defd�Z y)�CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]�options�args�returnc �R � t � \ }}t |� t |� \ }}|D ], }|| j }|| D ] } t d||| d � � �. |D ]/ }|| j }|| D ] \ } }}t d|||| |� � �1 |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 r �versionr r r ) �selfr r �package_set� parsing_probs�missing�conflicting�project_namer � dependency�dep_name�dep_version�reqs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_internal/commands/check.py�runzCheckCommand.run s� � �%F�%H�"��]�+�K�8�0��=����#� �L�!�,�/�7�7�G�%�l�3� � ��@� ���q�M� � � � (� �L�!�,�/�7�7�G�.9�,�.G� �*��+�s��C� ����� � � � �k�]��L��8�9��N� N) �__name__� __module__�__qualname__�__doc__�usager r �str�intr � r r r r s* � �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 r �pip._internal.utils.miscr � getLoggerr �loggerr r'