Ë
    äØjj5  ã                   ó  — d dl mZmZmZmZmZ d dlmZ d dlm	Z	 d dl
mZmZ d dlmZmZ d dlmZ d dlmZ eed   ee   f   Zeeef   Zd	e	d
ee	   defd„Z G d„ d«      Z G d„ d«      Zdedddefd„Z G d„ d«      Zy)é    )Ú	FrozenSetÚIterableÚOptionalÚTupleÚUnion)ÚSpecifierSet)ÚNormalizedName)ÚLegacyVersionÚVersion)ÚLinkÚlinks_equivalent)ÚInstallRequirement)ÚHashesÚ	CandidateÚprojectÚextrasÚreturnc                 óN   — |s| S dj                  t        |«      «      }| › d|› d�S )Nú,ú[ú])ÚjoinÚsorted)r   r   Úextras_exprs      új/opt/eval-harness/bench_task/venv/lib/python3.12/site-packages/pip/_internal/resolution/resolvelib/base.pyÚformat_namer      s/   € ÙØˆØ—(‘(œ6 &›>Ó*€KØˆY�a˜�} AÐ&Ð&ó    c                   ó‚   — e Zd Zdededee   ddfd„Zedd„«       Z	ede
dd fd	„«       Zdefd
„Zde
dd fd„Zdddefd„Zy)Ú
ConstraintÚ	specifierÚhashesÚlinksr   Nc                 ó.   — || _         || _        || _        y ©N)r    r!   r"   )Úselfr    r!   r"   s       r   Ú__init__zConstraint.__init__   s   € ð #ˆŒØˆŒØˆ�
r   c                 óL   — t        t        «       t        «       t        «       «      S r$   )r   r   r   Ú	frozenset)Úclss    r   ÚemptyzConstraint.empty   s   € äœ,›.¬&«(´I³KÓ@Ð@r   Úireqc                 ó¨   — |j                   rt        |j                   g«      n	t        «       }t        |j                  |j	                  d¬«      |«      S ©NF)Útrust_internet)Úlinkr(   r   r    r!   )r)   r+   r"   s      r   Ú	from_ireqzConstraint.from_ireq"   s:   € à*.¯)ª)”	˜4Ÿ9™9˜+Ô&¼»ˆÜ˜$Ÿ.™.¨$¯+©+ÀU¨+Ó*KÈUÓSÐSr   c                 óˆ   — t        | j                  «      xs, t        | j                  «      xs t        | j                  «      S r$   )Úboolr    r!   r"   ©r%   s    r   Ú__bool__zConstraint.__bool__'   s-   € Ü�D—N‘NÓ#ÒL¤t¨D¯K©KÓ'8ÒL¼DÀÇÁÓ<LÐLr   Úotherc                 ó   — t        |t        «      st        S | j                  |j                  z  }| j                  |j	                  d¬«      z  }| j
                  }|j                  r|j                  |j                  g«      }t        |||«      S r-   )	Ú
isinstancer   ÚNotImplementedr    r!   r"   r/   Úunionr   )r%   r5   r    r!   r"   s        r   Ú__and__zConstraint.__and__*   sq   € Ü˜%Ô!3Ô4Ü!Ð!Ø—N‘N U§_¡_Ñ4ˆ	Ø—‘˜uŸ|™|¸5˜|ÓAÑAˆØ—
‘
ˆØ�:Š:Ø—K‘K §¡ Ó-ˆEÜ˜) V¨UÓ3Ð3r   Ú	candidater   c                 ó¨   ‡— | j                   rt        ˆfd„| j                   D «       «      sy| j                  j                  ‰j                  d¬«      S )Nc              3   ó6   •K  — | ]  }t        |‰«      –— Œ y ­wr$   )Ú_match_link)Ú.0r/   r;   s     €r   ú	<genexpr>z-Constraint.is_satisfied_by.<locals>.<genexpr>6   s   øè ø€ Ò!VÀ4¤+¨d°I×">Ñ!Vùs   ƒFT)Úprereleases)r"   Úallr    ÚcontainsÚversion©r%   r;   s    `r   Úis_satisfied_byzConstraint.is_satisfied_by4   s@   ø€ à�:Š:œcÓ!VÈ4Ï:É:Ô!VÔVØð �~‰~×&Ñ& y×'8Ñ'8ÀdÐ&ÓKÐKr   )r   r   )Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r&   Úclassmethodr*   r   r0   r2   r4   r:   rF   © r   r   r   r      s    „ ðØ%ðØ/5ðØ>GÈ¹oðà	óð òAó ðAð ðTÐ/ð T°Lò Tó ðTðM˜$ó Mð4Ð/ð 4°Ló 4ðL¨ð L¸ô Lr   r   c                   ó`   — e Zd Zedefd„«       Zedefd„«       Zdddefd„Z	de
fd„Zdefd„Zy	)
ÚRequirementr   c                 ó   — t        d«      ‚)zòThe "project name" of a requirement.

        This is different from ``name`` if this requirement contains extras,
        in which case ``name`` would contain the ``[...]`` part, while this
        refers to the name of the project.
        úSubclass should override©ÚNotImplementedErrorr3   s    r   Úproject_namezRequirement.project_name?   s   € ô "Ð"<Ó=Ð=r   c                 ó   — t        d«      ‚)zÚThe name identifying this requirement in the resolver.

        This is different from ``project_name`` if this requirement contains
        extras, where ``project_name`` would not contain the ``[...]`` part.
        rO   rP   r3   s    r   ÚnamezRequirement.nameI   s   € ô "Ð"<Ó=Ð=r   r;   r   c                  ó   — y©NFrK   rE   s     r   rF   zRequirement.is_satisfied_byR   s   € Ør   c                 ó   — t        d«      ‚©NrO   rP   r3   s    r   Úget_candidate_lookupz Requirement.get_candidate_lookupU   ó   € Ü!Ð"<Ó=Ð=r   c                 ó   — t        d«      ‚rX   rP   r3   s    r   Úformat_for_errorzRequirement.format_for_errorX   rZ   r   N)rG   rH   rI   Úpropertyr	   rR   ÚstrrT   r2   rF   ÚCandidateLookuprY   r\   rK   r   r   rM   rM   >   sa   „ Øð>˜nò >ó ð>ð ð>�cò >ó ð>ð¨ð ¸ó ð> oó >ð> #ô >r   rM   r/   r;   c                 óH   — |j                   rt        | |j                   «      S yrV   )Úsource_linkr   )r/   r;   s     r   r>   r>   \   s!   € Ø×ÒÜ  i×&;Ñ&;Ó<Ð<Ør   c                   óÐ   — e Zd Zedefd„«       Zedefd„«       Zedefd„«       Z	ede
fd„«       Zede
fd„«       Zedee   fd„«       Zde
deee      fd	„Zdee   fd
„Zdefd„Zy)r   r   c                 ó   — t        d«      ‚)zðThe "project name" of the candidate.

        This is different from ``name`` if this candidate contains extras,
        in which case ``name`` would contain the ``[...]`` part, while this
        refers to the name of the project.
        úOverride in subclassrP   r3   s    r   rR   zCandidate.project_namec   s   € ô "Ð"8Ó9Ð9r   c                 ó   — t        d«      ‚)zÖThe name identifying this candidate in the resolver.

        This is different from ``project_name`` if this candidate contains
        extras, where ``project_name`` would not contain the ``[...]`` part.
        rd   rP   r3   s    r   rT   zCandidate.namem   s   € ô "Ð"8Ó9Ð9r   c                 ó   — t        d«      ‚©Nrd   rP   r3   s    r   rD   zCandidate.versionv   ó   € ä!Ð"8Ó9Ð9r   c                 ó   — t        d«      ‚rg   rP   r3   s    r   Úis_installedzCandidate.is_installedz   rh   r   c                 ó   — t        d«      ‚rg   rP   r3   s    r   Úis_editablezCandidate.is_editable~   rh   r   c                 ó   — t        d«      ‚rg   rP   r3   s    r   ra   zCandidate.source_link‚   rh   r   Úwith_requiresc                 ó   — t        d«      ‚rg   rP   )r%   rn   s     r   Úiter_dependencieszCandidate.iter_dependencies†   ó   € Ü!Ð"8Ó9Ð9r   c                 ó   — t        d«      ‚rg   rP   r3   s    r   Úget_install_requirementz!Candidate.get_install_requirement‰   rq   r   c                 ó   — t        d«      ‚rX   rP   r3   s    r   r\   zCandidate.format_for_errorŒ   rZ   r   N)rG   rH   rI   r]   r	   rR   r^   rT   ÚCandidateVersionrD   r2   rj   rl   r   r   ra   r   rM   rp   r   rs   r\   rK   r   r   r   r   b   sâ   „ Øð:˜nò :ó ð:ð ð:�cò :ó ð:ð ð:Ð)ò :ó ð:ð ð:˜dò :ó ð:ð ð:˜Tò :ó ð:ð ð:˜X d™^ò :ó ð:ð:¨tð :¸ÀÈ+ÑAVÑ8Wó :ð:¨Ð2DÑ)Eó :ð> #ô >r   N)Útypingr   r   r   r   r   Ú pip._vendor.packaging.specifiersr   Úpip._vendor.packaging.utilsr	   Úpip._vendor.packaging.versionr
   r   Úpip._internal.models.linkr   r   Úpip._internal.req.req_installr   Úpip._internal.utils.hashesr   r_   ru   r^   r   r   rM   r2   r>   r   rK   r   r   ú<module>r}      s¡   ðß >Õ >å 9Ý 6ß @ç <Ý <Ý -à˜ Ñ-¨xÐ8JÑ/KÐKÑL€Ø˜¨Ð/Ñ0Ð ð'˜ð '°¸>Ñ1Jð 'Èsó '÷%Lñ %L÷P>ñ >ð<�dð  {ð °tó ÷+>ò +>r   