
    ]h                        S SK Jr  S SKJr  S SKJr  S SKJr  S SKJ	r	  SSK
JrJr  \" \5      r " S S	\	\\\4   5      r " S
 S\	\\\4   5      rg)    )annotations)defaultdict)	getLogger)Any)BaseReporter   )	CandidateRequirementc                  (    \ rS rSrSS jrSS jrSrg)PipReporter   c                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    ^/var/www/html/env/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/reporter.py__init__PipReporter.__init__   s)    >I#>N$9
9
K*
&    c                   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   	criterion	candidate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   NreturnNoner'   r   r(   r	   r1   r2   )__name__
__module____qualname____firstlineno__r   r.   __static_attributes__ r   r   r   r      s    
,r   r   c                  j    \ rS rSrSrSS jrSS jrSS jrSS jr      SS jr	SS jr
SS	 jrS
rg)PipDebuggingReporter<   z9A reporter that does an info log for every event it sees.c                .    [         R                  S5        g )NzReporter.starting()r   r   r   s    r   startingPipDebuggingReporter.starting?   s    )*r   c                0    [         R                  SU5        g )NzReporter.starting_round(%r)r>   )r   indexs     r   starting_round#PipDebuggingReporter.starting_roundB   s    159r   c                \    [         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   rB   states      r   ending_round!PipDebuggingReporter.ending_roundE   s     6>4eCr   c                0    [         R                  SU5        g )NzReporter.ending(%r)r>   )r   rF   s     r   endingPipDebuggingReporter.endingI   s    )51r   c                0    [         R                  SX5        g )Nz#Reporter.adding_requirement(%r, %r)r>   )r   r"   r#   s      r   adding_requirement'PipDebuggingReporter.adding_requirementL   s     	9;Or   c                0    [         R                  SX5        g )Nz$Reporter.rejecting_candidate(%r, %r)r>   )r   r'   r(   s      r   r.   (PipDebuggingReporter.rejecting_candidateQ   s    :IQr   c                0    [         R                  SU5        g )NzReporter.pinning(%r)r>   )r   r(   s     r   pinningPipDebuggingReporter.pinningT   s    *I6r   r9   Nr0   )rB   r   r1   r2   )rB   r   rF   r   r1   r2   )rF   r   r1   r2   )r"   r
   r#   zCandidate | Noner1   r2   r3   )r(   r	   r1   r2   )r4   r5   r6   r7   __doc__r?   rC   rG   rJ   rM   r.   rR   r8   r9   r   r   r;   r;   <   sF    C+:D2P&P0@P	P
R7r   r;   N)
__future__r   collectionsr   loggingr   typingr    pip._vendor.resolvelib.reportersr   baser	   r
   r4   r   strr   r;   r9   r   r   <module>r\      sR    " #   9 (	8	+,{Is:; +\7<Y(CD 7r   