
    g`                         S SK Jr  S SKJr  S SKJrJr  S SKJr  SSK	J
r
Jr  \" \5      r " S S\5      r " S	 S
\5      rg)    )defaultdict)	getLogger)AnyDefaultDict)BaseReporter   )	CandidateRequirementc                   4    \ rS rSrS	S jrS\S\SS4S jrSrg)
PipReporter   returnNc                 B    [        [        5      U l        SSSS.U l        g )Nzpip is looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.zpip is still looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.zThis is taking longer than usual. You might need to provide the dependency resolver with stricter constraints to reduce runtime. See https://pip.pypa.io/warnings/backtracking for guidance. If you want to abort this run, press Ctrl + C.)r         )r   intreject_count_by_package_messages_at_reject_countselfs    t/Users/Alptekin/Desktop/izin_takip/venv/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/reporter.py__init__PipReporter.__init__   s)    >I#>N$9
9
K*
&    	criterion	candidatec                    U R                   UR                  ==   S-  ss'   U R                   UR                     nX0R                  ;  a  g U R                  U   n[        R	                  SUR                  UR                  S95        SnUR                   H\  nUR                  UR                  pUS-  nU(       a  XXR                   SUR                   S3-  nOUS-  nXWR                  5       -  nM^     [        R                  U5        g )	Nr   zINFO: %s)package_namez0Will try a different candidate, due to conflict:z
     z depends on zThe user requested )r   namer   loggerinfoformatinformationrequirementparentversionformat_for_errordebug)	r   r   r   countmessagemsgreq_inforeqr&   s	            r   rejecting_candidatePipReporter.rejecting_candidate#   s    $$Y^^494,,Y^^<666007JINN KL@!--H"..8OC++a'7|DD,,''))C . 	Sr   )r   r   r   N)	__name__
__module____qualname____firstlineno__r   r   r	   r/   __static_attributes__ r   r   r   r      s!    
,S Y 4 r   r   c                       \ rS rSrSrSS jrS\SS4S jrS\S\SS4S	 jr	S\SS4S
 jr
S\S\SS4S jrS\S\SS4S jrS\SS4S jrSrg)PipDebuggingReporter:   z9A reporter that does an info log for every event it sees.r   Nc                 .    [         R                  S5        g )NzReporter.starting()r!   r"   r   s    r   startingPipDebuggingReporter.starting=   s    )*r   indexc                 0    [         R                  SU5        g )NzReporter.starting_round(%r)r<   )r   r?   s     r   starting_round#PipDebuggingReporter.starting_round@   s    159r   statec                 \    [         R                  SU5        [         R                  SX5        g )Nz Reporter.ending_round(%r, state)zReporter.ending_round(%r, %r))r!   r"   r)   )r   r?   rC   s      r   ending_round!PipDebuggingReporter.ending_roundC   s     6>4eCr   c                 0    [         R                  SU5        g )NzReporter.ending(%r)r<   )r   rC   s     r   endingPipDebuggingReporter.endingG   s    )51r   r%   r&   c                 0    [         R                  SX5        g )Nz#Reporter.adding_requirement(%r, %r)r<   )r   r%   r&   s      r   adding_requirement'PipDebuggingReporter.adding_requirementJ   s    9;Or   r   r   c                 0    [         R                  SX5        g )Nz$Reporter.rejecting_candidate(%r, %r)r<   )r   r   r   s      r   r/   (PipDebuggingReporter.rejecting_candidateM   s    :IQr   c                 0    [         R                  SU5        g )NzReporter.pinning(%r)r<   )r   r   s     r   pinningPipDebuggingReporter.pinningP   s    *I6r   r7   r1   )r2   r3   r4   r5   __doc__r=   r   rA   r   rE   rH   r
   r	   rK   r/   rP   r6   r7   r   r   r9   r9   :   s    C+:C :D :D# Dc Dd D2C 2D 2Pk P9 PQU PRS RY R4 R7 7t 7r   r9   N)collectionsr   loggingr   typingr   r    pip._vendor.resolvelib.reportersr   baser	   r
   r2   r!   r   r9   r7   r   r   <module>rX      s7    #  # 9 (	8	+, +\7< 7r   