Current File : //lib/python3.9/site-packages/pip/_internal/commands/__pycache__/check.cpython-39.pyc
a

[��f��@svddlZddlmZddlmZddlmZddlmZm	Z	ddl
mZmZddl
mZe�e�ZGdd	�d	e�ZdS)
�N)�Values)�List)�Command)�ERROR�SUCCESS)�check_package_set�!create_package_set_from_installed)�write_outputc@s*eZdZdZdZeeeed�dd�Z	dS)�CheckCommandz7Verify installed packages have compatible dependencies.z
      %prog [options])�options�args�returnc
	Cs�t�\}}t|�\}}|D].}||j}||D]}	td|||	d�q0q|D]4}||j}||D]\}
}}td||||
|�qdqN|s�|s�|r�tStd�tSdS)Nz*%s %s requires %s, which is not installed.rz-%s %s has requirement %s, but you have %s %s.zNo broken requirements found.)rr�versionr	rr)
�selfrrZpackage_setZ
parsing_probs�missingZconflictingZproject_namerZ
dependencyZdep_nameZdep_versionZreq�r�@/usr/lib/python3.9/site-packages/pip/_internal/commands/check.py�runs4

�
�	zCheckCommand.runN)
�__name__�
__module__�__qualname__�__doc__�usagerr�str�intrrrrrr
sr
)ZloggingZoptparser�typingrZpip._internal.cli.base_commandrZpip._internal.cli.status_codesrrZpip._internal.operations.checkrrZpip._internal.utils.miscr	Z	getLoggerr�loggerr
rrrr�<module>s