+
    iE                        ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ RI
Ht ^RIHtHtHt ]! ]4      t ! R R	]]]]3,          4      t ! R
 R]]]]3,          4      tR# )    )annotations)defaultdict)Mapping)	getLogger)Any)BaseReporter)	Candidate
ConstraintRequirementc                  2    ] tR t^tRR R lltR R ltRtR# )PipReporterNc                    V ^8  d   QhRRRR/# )   constraintszMapping[str, Constraint] | NonereturnNone )formats   "r/Users/ahmad/.openclaw/workspace/venv/lib/python3.14/site-packages/pip/_internal/resolution/resolvelib/reporter.py__annotate__PipReporter.__annotate__   s     
 
$C 
t 
    c                	j    \        \        4      V n        T;'       g    / V n        ^R^R^R/V n        R# )   zpip 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.N)r   intreject_count_by_package_constraints_messages_at_reject_count)selfr   s   &&r   __init__PipReporter.__init__   sH    >I#>N$'--2 9 9 K*
&r   c               $    V ^8  d   QhRRRRRR/# r   	criterionr   	candidater	   r   r   r   )r   s   "r   r   r   '   s!      S Y 4 r   c                >   V P                   VP                  ;;,          ^,          uu&   V P                   VP                  ,          pW0P                  9   dD   V P                  V,          p\        P	                  RVP                  VP                  R7      4       RpVP                   Fm  pVP                  VP                  rVR,          pV'       d$   WXP                   RVP                   R2,          pM	VR,          pWWP                  4       ,          pKo  	  V P                  '       d^   VP                  p	V P                  P                  V	4      p
V
'       d/   V
P                  '       d   V	 V
P                   2pVRV 2,          p\        P                  V4       R	# )
zReport a candidate being rejected.

Logs both the rejection count message (if applicable) and details about
the requirements and constraints that caused the rejection.
zINFO: %s)package_namez0Will try a different candidate, due to conflict:z
     z depends on zThe user requested z%
    The user requested (constraint) N)r   namer   loggerinfor   informationrequirementparentversionformat_for_errorr   get	specifierdebug)r   r$   r%   countmessagemsgreq_inforeqr.   r)   
constraintconstraint_texts   &&&         r   rejecting_candidatePipReporter.rejecting_candidate'   sF    	$$Y^^494,,Y^^<22244U;GKK
GNN	N$OP@!--H"..8OC++a'7|DD,,''))C . >>D**..t4Jj222%)F:+?+?*@"A??PQQSr   )r   r   r   )N)__name__
__module____qualname____firstlineno__r    r;   __static_attributes__r   r   r   r   r      s    
. r   r   c                  n    ] tR t^ItRtR R ltR R ltR R ltR R	 ltR
 R lt	R R lt
R R ltRtR# )PipDebuggingReporterz9A reporter that does an info log for every event it sees.c                   V ^8  d   QhRR/# )r   r   r   r   )r   s   "r   r   !PipDebuggingReporter.__annotate__L   s     + +$ +r   c                	0    \         P                  R 4       R# )zReporter.starting()Nr*   r+   )r   s   &r   startingPipDebuggingReporter.startingL   s    )*r   c                    V ^8  d   QhRRRR/# )r   indexr   r   r   r   )r   s   "r   r   rE   O   s     : :C :D :r   c                	2    \         P                  R V4       R# )zReporter.starting_round(%r)NrG   )r   rK   s   &&r   starting_round#PipDebuggingReporter.starting_roundO   s    159r   c               $    V ^8  d   QhRRRRRR/# )r   rK   r   stater   r   r   r   )r   s   "r   r   rE   R   s&     D D# Dc Dd Dr   c                	^    \         P                  R V4       \         P                  RW4       R# )z Reporter.ending_round(%r, state)zReporter.ending_round(%r, %r)N)r*   r+   r3   )r   rK   rP   s   &&&r   ending_round!PipDebuggingReporter.ending_roundR   s     6>4eCr   c                    V ^8  d   QhRRRR/# )r   rP   r   r   r   r   )r   s   "r   r   rE   V   s     2 2C 2D 2r   c                	2    \         P                  R V4       R# )zReporter.ending(%r)NrG   )r   rP   s   &&r   endingPipDebuggingReporter.endingV   s    )51r   c               $    V ^8  d   QhRRRRRR/# )r   r-   r   r.   zCandidate | Noner   r   r   )r   s   "r   r   rE   Y   s)     P P&P0@P	Pr   c                	2    \         P                  R W4       R# )z#Reporter.adding_requirement(%r, %r)NrG   )r   r-   r.   s   &&&r   adding_requirement'PipDebuggingReporter.adding_requirementY   s     	9;Or   c               $    V ^8  d   QhRRRRRR/# r#   r   )r   s   "r   r   rE   ^   s&     R RS RY R4 Rr   c                	2    \         P                  R W4       R# )z$Reporter.rejecting_candidate(%r, %r)NrG   )r   r$   r%   s   &&&r   r;   (PipDebuggingReporter.rejecting_candidate^   s    :IQr   c                    V ^8  d   QhRRRR/# )r   r%   r	   r   r   r   )r   s   "r   r   rE   a   s     7 7 7t 7r   c                	2    \         P                  R V4       R# )zReporter.pinning(%r)NrG   )r   r%   s   &&r   pinningPipDebuggingReporter.pinninga   s    *I6r   r   N)r=   r>   r?   r@   __doc__rH   rM   rR   rV   rZ   r;   ra   rA   r   r   r   rC   rC   I   s0    C+:D2P
R7 7r   rC   N)
__future__r   collectionsr   collections.abcr   loggingr   typingr    pip._vendor.resolvelib.reportersr   baser	   r
   r   r=   r*   strr   rC   r   r   r   <module>rl      sX    " # #   9 4 4	8	7,{Is:; 7t7<Y(CD 7r   