U .e@sNddlZddlmZddlmZmZddlmZee Z GdddeZ dS)N)Command)check_package_set!create_package_set_from_installed) write_outputc@seZdZdZdZddZdS) CheckCommandz7Verify installed packages have compatible dependencies.z %prog [options]c Cst\}}t|\}}|D].}||j}||D]} td||| dq0q|D]4}||j}||D]\} } } td||| | | qdqN|s|s|rdStddS)Nz*%s %s requires %s, which is not installed.rz-%s %s has requirement %s, but you have %s %s.zNo broken requirements found.)rrversionr) selfZoptionsargsZ package_setZ parsing_probsZmissingZ conflictingZ project_namerZ dependencyZdep_nameZ dep_versionZreqr @/usr/lib/python3.8/site-packages/pip/_internal/commands/check.pyruns2      zCheckCommand.runN)__name__ __module__ __qualname____doc__Zusager r r r r rsr) ZloggingZpip._internal.cli.base_commandrZpip._internal.operations.checkrrZpip._internal.utils.miscrZ getLoggerrZloggerrr r r r s