Ë
    äØjj  ã                   ó„   — d dl mZ d dlmZ d dlmZmZ d dlmZ ddl	m
Z
mZ  ee«      Z G d„ de«      Z G d	„ d
e«      Zy)é    )Údefaultdict)Ú	getLogger)ÚAnyÚDefaultDict)ÚBaseReporteré   )Ú	CandidateÚRequirementc                   ó(   — e Zd Zdd„Zdededdfd„Zy)ÚPipReporterÚreturnNc                 óB   — t        t        «      | _        ddddœ| _        y )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Ú_messages_at_reject_count©Úselfs    ún/opt/eval-harness/bench_task/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/reporter.pyÚ__init__zPipReporter.__init__   s)   € Ü>IÌ#Ó>NˆÔ$ð9ð
9ð
Kñ*
ˆÕ&ó    Ú	criterionÚ	candidatec                 ó  — | j                   |j                  xx   dz  cc<   | j                   |j                     }|| j                  vry | j                  |   }t        j	                  d|j                  |j                  ¬«      «       d}|j                  D ]Y  }|j                  |j                  }}|dz  }|r ||j                  › d|j                  › d�z  }n|dz  }||j                  «       z  }Œ[ t        j                  |«       y )	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_candidatezPipReporter.rejecting_candidate#   só   € Ø×$Ñ$ Y§^¡^Ó4¸Ñ9Ó4à×,Ñ,¨Y¯^©^Ñ<ˆØ˜×6Ñ6Ñ6Øà×0Ñ0°Ñ7ˆÜ�‰�J §¡¸I¿N¹N Ó KÔLà@ˆØ!×-Ñ-ò 	*ˆHØ"×.Ñ.°·±�ˆCà�8‰OˆCÙØ˜&Ÿ+™+˜ a¨¯©Ð'7°|ÐDÑD‘àÐ,Ñ,�Ø�3×'Ñ'Ó)Ñ)‰Cð	*ô 	�‰�SÕr   ©r   N)Ú__name__Ú
__module__Ú__qualname__r   r   r	   r-   © r   r   r   r      s!   „ ó
ð,¨Sð ¸Yð È4ô r   r   c                   ó„   — e Zd ZdZdd„Zdeddfd„Zdededdfd„Zdeddfd	„Z	d
e
deddfd„Zdededdfd„Zdeddfd„Zy)ÚPipDebuggingReporterz9A reporter that does an info log for every event it sees.r   Nc                 ó.   — t         j                  d«       y )NzReporter.starting()©r   r    r   s    r   ÚstartingzPipDebuggingReporter.starting=   s   € Ü�‰Ð)Õ*r   Úindexc                 ó0   — t         j                  d|«       y )NzReporter.starting_round(%r)r6   )r   r8   s     r   Ústarting_roundz#PipDebuggingReporter.starting_round@   s   € Ü�‰Ð1°5Õ9r   Ústatec                 ó0   — t         j                  d|«       y )Nz Reporter.ending_round(%r, state)r6   )r   r8   r;   s      r   Úending_roundz!PipDebuggingReporter.ending_roundC   s   € Ü�‰Ð6¸Õ>r   c                 ó0   — t         j                  d|«       y )NzReporter.ending(%r)r6   )r   r;   s     r   ÚendingzPipDebuggingReporter.endingF   s   € Ü�‰Ð)¨5Õ1r   r#   r$   c                 ó2   — t         j                  d||«       y )Nz#Reporter.adding_requirement(%r, %r)r6   )r   r#   r$   s      r   Úadding_requirementz'PipDebuggingReporter.adding_requirementI   s   € Ü�‰Ð9¸;ÈÕOr   r   r   c                 ó2   — t         j                  d||«       y )Nz$Reporter.rejecting_candidate(%r, %r)r6   )r   r   r   s      r   r-   z(PipDebuggingReporter.rejecting_candidateL   s   € Ü�‰Ð:¸IÀyÕQr   c                 ó0   — t         j                  d|«       y )NzReporter.pinning(%r)r6   )r   r   s     r   ÚpinningzPipDebuggingReporter.pinningO   s   € Ü�‰Ð*¨IÕ6r   r.   )r/   r0   r1   Ú__doc__r7   r   r:   r   r=   r?   r
   r	   rA   r-   rD   r2   r   r   r4   r4   :   sš   „ ÙCó+ð: Cð :¨Dó :ð? #ð ?¨cð ?°dó ?ð2˜Cð 2 Dó 2ðP¨kð PÀ9ð PÐQUó PðR¨Sð R¸Yð RÈ4ó Rð7 ð 7¨tô 7r   r4   N)Úcollectionsr   Úloggingr   Útypingr   r   Ú pip._vendor.resolvelib.reportersr   Úbaser	   r
   r/   r   r   r4   r2   r   r   ú<module>rK      s7   ðÝ #Ý ß #å 9ç (á	�8Ó	€ô+�,ô +ô\7˜<õ 7r   