ó
    T=ŒjN  ã                  ó´   • 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  SSKJrJrJr  \" \5      r " S	 S
\\\\4   5      r " S S\\\\4   5      rg)é    )Úannotations)Údefaultdict)ÚMapping)Ú	getLogger)ÚAny)ÚBaseReporteré   )Ú	CandidateÚ
ConstraintÚRequirementc                  ó,   • \ rS rSrSSS jjrSS jrSrg)	ÚPipReporteré   Nc                ób   • [        [        5      U l        U=(       d    0 U l        SSSS.U l        g )Nz�pip is looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.z–pip is still looking at multiple versions of {package_name} to determine which version is compatible with other requirements. This could take a while.zëThis 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Ú_constraintsÚ_messages_at_reject_count)ÚselfÚconstraintss     Úp/Users/stevendouglas/BidBrain/.venv/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/reporter.pyÚ__init__ÚPipReporter.__init__   s6   € Ü>IÌ#Ó>NˆÔ$Ø'×-¨2ˆÔð9ð
9ð
Kñ*
ˆÕ&ó    c                óì  • U R                   UR                  ==   S-  ss'   U R                   UR                     nX0R                  ;   a<  U R                  U   n[        R	                  SUR                  UR                  S95        SnUR                   H\  nUR                  UR                  p‡US-  nU(       a  XXR                   SUR                   S3-  nOUS-  nXWR                  5       -  nM^     U R                  (       a[  UR                  n	U R                  R                  U	5      n
U
(       a-  U
R                  (       a  U	 U
R                  5        3nUS	U 3-  n[        R                  U5        g
)z¨Report a candidate being rejected.

Logs both the rejection count message (if applicable) and details about
the requirements and constraints that caused the rejection.
r	   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ÚinfoÚformatÚinformationÚrequirementÚparentÚversionÚformat_for_errorr   ÚgetÚ	specifierÚdebug)r   Ú	criterionÚ	candidateÚcountÚmessageÚmsgÚreq_infoÚreqr&   r    Ú
constraintÚconstraint_texts               r   Úrejecting_candidateÚPipReporter.rejecting_candidate'   sC  € ð 	×$Ñ$ Y§^¡^Ó4¸Ñ9Ó4à×,Ñ,¨Y¯^©^Ñ<ˆØ×2Ñ2Ó2Ø×4Ñ4°UÑ;ˆGÜ�K‰K˜
 G§N¡NÀ	ÇÁ NÐ$OÔPà@ˆØ!×-Ô-ˆHØ"×.Ñ.°·±�Ø�8‰OˆCÞØŸ+™+˜ a¨¯©Ð'7°|ÐDÑD‘àÐ,Ñ,�Ø×'Ñ'Ó)Ñ)ŠCñ .ð ××Ø—>‘>ˆDØ×*Ñ*×.Ñ.¨tÓ4ˆJÞ˜j×2×2Ø%) F¨:×+FÑ+FÓ+HÐ*IÐ"J�ØÐ?ÀÐ?PÐQÑQ�ä�‰�SÕr   )r   r   r   )N)r   zMapping[str, Constraint] | NoneÚreturnÚNone©r,   r   r-   r
   r7   r8   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r5   Ú__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éI   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.startingL   s   € Ü�‰Ð)Õ*r   c                ó0   • [         R                  SU5        g )NzReporter.starting_round(%r)rD   )r   Úindexs     r   Ústarting_roundÚ#PipDebuggingReporter.starting_roundO   s   € Ü�‰Ð1°5Õ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   rH   Ústates      r   Úending_roundÚ!PipDebuggingReporter.ending_roundR   s    € Ü�‰Ð6¸Ô>Ü�‰Ð4°eÕCr   c                ó0   • [         R                  SU5        g )NzReporter.ending(%r)rD   )r   rL   s     r   ÚendingÚPipDebuggingReporter.endingV   s   € Ü�‰Ð)¨5Õ1r   c                ó0   • [         R                  SX5        g )Nz#Reporter.adding_requirement(%r, %r)rD   )r   r%   r&   s      r   Úadding_requirementÚ'PipDebuggingReporter.adding_requirementY   s   € ô 	�‰Ð9¸;ÕOr   c                ó0   • [         R                  SX5        g )Nz$Reporter.rejecting_candidate(%r, %r)rD   )r   r,   r-   s      r   r5   Ú(PipDebuggingReporter.rejecting_candidate^   s   € Ü�‰Ð:¸IÕQr   c                ó0   • [         R                  SU5        g )NzReporter.pinning(%r)rD   )r   r-   s     r   ÚpinningÚPipDebuggingReporter.pinninga   s   € Ü�‰Ð*¨IÕ6r   r?   N)r7   r8   )rH   r   r7   r8   )rH   r   rL   r   r7   r8   )rL   r   r7   r8   )r%   r   r&   zCandidate | Noner7   r8   r9   )r-   r
   r7   r8   )r:   r;   r<   r=   Ú__doc__rE   rI   rM   rP   rS   r5   rX   r>   r?   r   r   rA   rA   I   sF   † ÙCô+ô:ôDô2ðPØ&ðPØ0@ðPà	ôPô
R÷7r   rA   N)Ú
__future__r   Úcollectionsr   Úcollections.abcr   Úloggingr   Útypingr   Ú pip._vendor.resolvelib.reportersr   Úbaser
   r   r   r:   r!   Ústrr   rA   r?   r   r   Ú<module>rc      sX   ðÝ "å #Ý #Ý Ý å 9ç 4Ñ 4á	�8Ó	€ô7�,˜{¨I°sÐ:Ñ;ô 7ôt7˜<¨°YÀÐ(CÑDõ 7r   