관리-도구
편집 파일: resolvers.cpython-311.pyc
� �܋fP � � � d dl Z d dlZd dlZddlmZ ddlmZmZmZ e j dddg� � Z G d� d e� � Z G d � de� � Z G d� d e� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z e j dd� � Z G d� de� � Zd� Z e j dd� � Zd� Z G d� de� � ZdS ) � N� )�AbstractResolver)� DirectedGraph�IteratorMapping�build_iter_view�RequirementInformation�requirement�parentc � � e Zd ZdZdS )�ResolverExceptionz�A base class for all exceptions raised by this module. Exceptions derived by this class should all be handled in this module. Any bubbling pass the resolver should be treated as a bug. N)�__name__� __module__�__qualname__�__doc__� � �W/opt/cloudlinux/venv/lib64/python3.11/site-packages/pip/_vendor/resolvelib/resolvers.pyr r s � � � � � �� � � r r c �$ � � e Zd Z� fd�Zd� Z� xZS )�RequirementsConflictedc �f �� t t | � � � |� � || _ d S �N)�superr �__init__� criterion)�selfr � __class__s �r r zRequirementsConflicted.__init__ s- �� � �$�d�+�+�4�4�Y�?�?�?�"����r c � � d� d� d� | j � � � D � � � � � � S )NzRequirements conflict: {}�, c 3 �4 K � | ]}t |� � V � �d S r ��repr��.0�rs r � <genexpr>z1RequirementsConflicted.__str__.<locals>.<genexpr> �( � � � �I�I�!�d�1�g�g�I�I�I�I�I�Ir )�format�joinr �iter_requirement�r s r �__str__zRequirementsConflicted.__str__ sF � �*�1�1��I�I�I�I�t�~�'F�'F�'H�'H�I�I�I�I�I� � � r �r r r r r+ � __classcell__�r s @r r r sG �� � � � � �#� #� #� #� #� � � � � � � r r c �$ � � e Zd Z� fd�Zd� Z� xZS )�InconsistentCandidatec �v �� t t | � � � ||� � || _ || _ d S r )r r0 r � candidater )r r2 r r s �r r zInconsistentCandidate.__init__! s6 �� � �#�T�*�*�3�3�I�y�I�I�I�"���"����r c � � d� | j d� d� | j � � � D � � � � � � S )Nz+Provided candidate {!r} does not satisfy {}r c 3 �4 K � | ]}t |� � V � �d S r r r"