
    4Ք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  S SKJr  S SKJrJr  S S	KJr  S S
KJr  \\S   \\   4   rSS jr\" SS9 " S S5      5       r " S S5      rSS jr " S S5      rg)    )annotations)Iterable)	dataclass)Optional)SpecifierSet)NormalizedName)Version)Linklinks_equivalent)InstallRequirement)Hashes	Candidatec                X    U(       d  U $ SR                  [        U5      5      nU  SU S3$ )N,[])joinsorted)projectextrasextras_exprs      `/var/www/auris/envauris/lib/python3.13/site-packages/pip/_internal/resolution/resolvelib/base.pyformat_namer      s/    ((6&>*KYa}A&&    T)frozenc                  z    \ rS rSr% S\S'   S\S'   S\S'   \SS j5       r\SS	 j5       rSS
 jrSS jr	SS jr
Srg)
Constraint   r   	specifierr   hasheszfrozenset[Link]linksc                L    [        [        5       [        5       [        5       5      $ N)r   r   r   	frozenset)clss    r   emptyConstraint.empty   s    ,.&(IK@@r   c                    UR                   (       a  [        UR                   /5      O	[        5       n[        UR                  UR	                  SS9U5      $ NF)trust_internet)linkr$   r   r   r    )r%   ireqr!   s      r   	from_ireqConstraint.from_ireq#   s:    *.))	499+&$..$++U+*KUSSr   c                    [        U R                  5      =(       d1    [        U R                  5      =(       d    [        U R                  5      $ r#   )boolr   r    r!   selfs    r   __bool__Constraint.__bool__(   s-    DNN#LtDKK'8LD<LLr   c                ,   [        U[        5      (       d  [        $ U R                  UR                  -  nU R                  UR	                  SS9-  nU R
                  nUR                  (       a  UR                  UR                  /5      n[        X#U5      $ r)   )	
isinstancer   NotImplementedr   r    r!   r+   unionr   )r2   otherr   r    r!   s        r   __and__Constraint.__and__+   sr    %!344!!NNU__4	u||5|AA

::KK-E)U33r   c                   ^ U R                   (       a%  [        U4S jU R                    5       5      (       d  gU R                  R                  TR                  SS9$ )Nc              3  <   >#    U  H  n[        UT5      v   M     g 7fr#   )_match_link).0r+   	candidates     r   	<genexpr>-Constraint.is_satisfied_by.<locals>.<genexpr>7   s     !V:4+dI">">:s   FT)prereleases)r!   allr   containsversionr2   r@   s    `r   is_satisfied_byConstraint.is_satisfied_by5   sC    ::c!V4::!VVV ~~&&y'8'8d&KKr    N)returnr   )r,   r   rK   r   rK   r0   )r9   r   rK   r   r@   r   rK   r0   )__name__
__module____qualname____firstlineno____annotations__classmethodr&   r-   r3   r:   rH   __static_attributes__rJ   r   r   r   r      sN    NA A T TM4Lr   r   c                  Z    \ rS rSr\S	S j5       r\S
S j5       rSS jrSS jrS
S jr	Sr
g)Requirement?   c                    [        S5      e)zThe "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NotImplementedErrorr1   s    r   project_nameRequirement.project_name@   s     ""<==r   c                    [        S5      e)zThe 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.
rY   rZ   r1   s    r   nameRequirement.nameJ   s     ""<==r   c                    gNFrJ   rG   s     r   rH   Requirement.is_satisfied_byS   s    r   c                    [        S5      eNrY   rZ   r1   s    r   get_candidate_lookup Requirement.get_candidate_lookupV       !"<==r   c                    [        S5      ere   rZ   r1   s    r   format_for_errorRequirement.format_for_errorY   rh   r   rJ   NrK   r   rK   strrM   )rK   CandidateLookup)rN   rO   rP   rQ   propertyr\   r_   rH   rf   rj   rT   rJ   r   r   rV   rV   ?   s7    > > > >>>r   rV   c                P    UR                   (       a  [        XR                   5      $ grb   )source_linkr   )r+   r@   s     r   r>   r>   ]   s    &;&;<<r   c                      \ rS rSr\SS j5       r\SS j5       r\SS j5       r\SS j5       r\SS j5       r	\SS j5       r
SS jrSS	 jrSS
 jrSrg)r   c   c                    [        S5      e)zThe "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 subclassrZ   r1   s    r   r\   Candidate.project_named   s     ""899r   c                    [        S5      e)zThe 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.
rv   rZ   r1   s    r   r_   Candidate.namen   s     ""899r   c                    [        S5      eNrv   rZ   r1   s    r   rF   Candidate.versionw       !"899r   c                    [        S5      er{   rZ   r1   s    r   is_installedCandidate.is_installed{   r}   r   c                    [        S5      er{   rZ   r1   s    r   is_editableCandidate.is_editable   r}   r   c                    [        S5      er{   rZ   r1   s    r   rr   Candidate.source_link   r}   r   c                    [        S5      er{   rZ   )r2   with_requiress     r   iter_dependenciesCandidate.iter_dependencies       !"899r   c                    [        S5      er{   rZ   r1   s    r   get_install_requirement!Candidate.get_install_requirement   r   r   c                    [        S5      ere   rZ   r1   s    r   rj   Candidate.format_for_error   rh   r   rJ   Nrl   rm   )rK   r	   rL   )rK   zLink | None)r   r0   rK   zIterable[Requirement | None])rK   zInstallRequirement | None)rN   rO   rP   rQ   rp   r\   r_   rF   r   r   rr   r   r   rj   rT   rJ   r   r   r   r   c   s    : : : : : : : : : : : :::>r   N)r   r   r   zfrozenset[NormalizedName]rK   rn   )r+   r
   r@   r   rK   r0   )
__future__r   collections.abcr   dataclassesr   typingr    pip._vendor.packaging.specifiersr   pip._vendor.packaging.utilsr   pip._vendor.packaging.versionr	   pip._internal.models.linkr
   r   pip._internal.req.req_installr   pip._internal.utils.hashesr   tuplero   r   r   rV   r>   r   rJ   r   r   <module>r      s}    " $ !  9 6 1 < < --x8J/KKL' $"L "L "LJ> ><+> +>r   