+
    yj                    6   ^ RI Ht ^ RIt^ RIt^ RIt^ RIHtHt ^ RIHt ^ RI	H	t	 ^ RI
HtHtHtHtHtHt ^ RIHtHt ^RIHtHtHtHt ^R	IHt ^R
IHtHt ^RIHtH t H!t!H"t" ^RI#H$t$ ]'       d   ^ RIH%t%H&t& ^ RI'H(t( ^ RI)H*t* ^RIH+t+ ]PX                  ! ]-4      t.. RWOt/R R lt0]! R4      t1]! R4      t2 ! R R ]4      t3]! R!]3R"7      t4]Pj                  ! R#4      t6R$ R% lt7R& R' lt8R( R) lt9R* R+ lt:R, R- lt;R. R/ lt<R0 R1 lt=R2 R3 lt>R4 R5 lt?R6 R7 lt@R8 R9 ltAR: R; ltBR< R= ltCR> R? ltDR@ RA ltERB RC ltFRD RE ltGRF RG ltH ! RH R]I4      tJ ! RI RJ]J4      tK ! RK R]J4      tL ! RL R]I4      tM]! RMRNRO7       ! RP R4      4       tN]! RMRNRO7       ! RQ R4      4       tO]! RMRNRO7       ! RR R4      4       tP]! RMRNRO7       ! RS R4      4       tQ]! RMRNRO7       ! RT R4      4       tR]! RMRNRO7       ! RU R4      4       tS]! RMRNRO7       ! RV R4      4       tTR# )X    )annotationsN)MappingSequence)	dataclass)datetime)TYPE_CHECKINGAnyCallableProtocolTypeVarcast)unquoteurlparse)EnvironmentMarker_pep440_python_full_versiondefault_environment)SpecifierSet)create_compatible_tags_selectorsys_tags)NormalizedNameis_normalized_nameparse_sdist_filenameparse_wheel_filename)Version)
CollectionIterator)Path)Self)TagPackagePackageArchivePackageDirectoryPackageSdist
PackageVcsPackageWheelPylockPylockSelectErrorPylockUnsupportedVersionErrorPylockValidationErrorc                   V ^8  d   QhRR/# )   returnz	list[str] )formats   "D/var/www/html/2rare/lib/python3.14/site-packages/packaging/pylock.py__annotate__r1   <   s           c                     \         # N)__all__r.   r2   r0   __dir__r6   <   s    Nr2   _T_T2c                  ,    ] tR t^Dt]R R l4       tRtR# )_FromMappingProtocolc                    V ^8  d   QhRRRR/# r,   dMapping[str, Any]r-   r   r.   )r/   s   "r0   r1   !_FromMappingProtocol.__annotate__F   s    ::,::r2   c                	    R # r4   r.   clsr=   s   &&r0   
_from_dict_FromMappingProtocol._from_dictE   s    7:r2   r.   N)__name__
__module____qualname____firstlineno__classmethodrC   __static_attributes__r.   r2   r0   r:   r:   D   s    : :r2   r:   _FromMappingProtocolT)boundz^pylock\.([^.]+)\.toml$c                    V ^8  d   QhRRRR/# )r,   pathr   r-   boolr.   )r/   s   "r0   r1   r1   O   s     U Ut U Ur2   c                    V P                   R8H  ;'       g)    \        \        P                  V P                   4      4      # )z4Check if the given path is a valid pylock file path.zpylock.toml)namerO   _PYLOCK_FILE_NAME_REmatchrN   s   &r0   is_valid_pylock_pathrU   O   s.    99%TT.B.H.H.S)TTr2   c                    V ^8  d   QhRRRR/# )r,   keystrr-   r.   )r/   s   "r0   r1   r1   T   s     ! !3 !3 !r2   c                &    V P                  R R4      # )_-)replace)rW   s   &r0   	_toml_keyr]   T   s    ;;sC  r2   c               $    V ^8  d   QhRRRRRR/# )r,   rW   rX   valuer	   r-   r.   )r/   s   "r0   r1   r1   X   s!      S   r2   c                    \        V\        \        \        34      '       d   \	        V4      # \        V\
        4      '       d#   V R 8X  d   V Uu. uF  p\	        V4      NK  	  up# V# u upi )environments)
isinstancer   r   r   rX   r   )rW   r_   vs   && r0   _toml_valuerd   X   sW    %'6<8995z%""sn'< %&1A&&L 's   A'c                    V ^8  d   QhRRRR/# )r,   datazlist[tuple[str, Any]]r-   zdict[str, Any]r.   )r/   s   "r0   r1   r1   `   s      2 ~ r2   c           	     l    V  UUu/ uF   w  rVf   K  \        V4      \        W4      bK"  	  upp# u uppi r4   )r]   rd   )rf   rW   r_   s   &  r0   _toml_dict_factoryrh   `   s>     JC 	0	#C//  s   00c               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   expected_typetype[_T]rW   rX   r-   z	_T | Noner.   )r/   s   "r0   r1   r1   h   s)       h S Y r2   c                    V P                  V4      ;pf   R# \        W14      '       d!   V\        J dH   \        V\        4      '       d2   \	        R\        V4      P                   RVP                   R2VR7      hV# )zBGet a value from the dictionary and verify it's the expected type.NUnexpected type  (expected )context)getrb   intrO   r*   typerE   r=   rj   rW   r_   s   &&& r0   _getrv   h   sx    s$e++E4!8!8#tE{334 5&//03
 	

 Lr2   c               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   rj   rk   rW   rX   r-   r7   r.   )r/   s   "r0   r1   r1   x   s)      & x c b r2   c                <    \        WV4      ;pf   \        V4      hV# )zKGet a required value from the dictionary and verify it's the expected type.)rv   _PylockRequiredKeyErrorru   s   &&& r0   _get_requiredrz   x   s$    a,,5%c**Lr2   c               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   expected_item_typerk   rW   rX   r-   zSequence[_T] | Noner.   )r/   s   "r0   r1   r1      s,      .6=@r2   c                l   \        V \        V4      ;pf   R# \        V\        \        34      '       d%   \        R\        V4      P                   R2VR7      h\        V4       FM  w  rE\        WQ4      '       d   K  \        R\        V4      P                   RVP                   R2V RV R2R7      h	  V# )	zMGet a list value from the dictionary and verify it's the expected items type.Nrm   z (expected Sequence)rp   rn   ro   [])	rv   r   rb   rX   bytesr*   rt   rE   	enumerate)r=   r|   rW   r_   iitems   &&&   r0   _get_sequencer      s     a3''0%#u&&#tE{3344HI
 	
 U#$33'"4:#6#6"7 8/889<%q1  $ Lr2   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r,   r=   r>   rj   rk   target_typeCallable[[_T], _T2]rW   rX   r-   z
_T2 | Noner.   )r/   s   "r0   r1   r1      s:     ; ;;; %; 
	;
 ;r2   c                x    \        WV4      ;pf   R#  V! V4      #   \         d   p\        YSR7      ThRp?ii ; i)zGet a value from the dictionary, verify it's the expected type,
and convert to the target type.

This assumes the target_type constructor accepts the value.
Nrp   )rv   	Exceptionr*   )r=   rj   r   rW   r_   es   &&&&  r0   _get_asr      sF     a,,5;5!! ;#A3:;s    949c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r,   r=   r>   rj   rk   r   r   rW   rX   r-   r8   r.   )r/   s   "r0   r1   r1      s:     
 


 %
 
	

 	
r2   c                <    \        WW#4      ;pf   \        V4      hV# )zbGet a required value from the dict, verify it's the expected type,
and convert to the target type.)r   ry   )r=   rj   r   rW   r_   s   &&&& r0   _get_required_asr      s&     ;<<E%c**Lr2   c          
     ,    V ^8  d   QhRRRRRRRRR	R
/# )r,   r=   r>   r|   rk   target_item_typer   rW   rX   r-   zlist[_T2] | Noner.   )r/   s   "r0   r1   r1      s:        * 
	
 r2   c           	         \        WV4      ;pf   R# . p V F  pV! V4      pVP                  V4       K  	  V#   \         d"   p\        Y R\	        T4       R2R7      ThRp?ii ; i)z>Get list value from dictionary and verify expected items type.Nr~   r   rp   )r   appendr   r*   len)	r=   r|   r   rW   r_   resultr   
typed_itemr   s	   &&&&     r0   _get_sequence_asr      s}     qc::CFOD)$/JMM*% 
 M  O#AaF}A/FGQNOs   ": A&A!!A&c               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   r   type[_FromMappingProtocolT]rW   rX   r-   z_FromMappingProtocolT | Noner.   )r/   s   "r0   r1   r1      s,     	; 	;	;'B	;IL	;!	;r2   c                    \        V \        V4      ;pf   R#  VP                  V4      #   \         d   p\	        YBR7      ThRp?ii ; i)zIGet a dictionary value from the dictionary and convert it to a dataclass.Nrp   )rv   r   rC   r   r*   )r=   r   rW   r_   r   s   &&&  r0   _get_objectr      sN     a#&&/;%%e,, ;#A3:;s   * AAAc               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   r   r   rW   rX   r-   z"list[_FromMappingProtocolT] | Noner.   )r/   s   "r0   r1   r1      s,      ,GNQ'r2   c           	         \        V \        V4      ;pf   R# . p V F%  pVP                  V4      pVP                  V4       K'  	  V#   \         d"   p\        Yr R\        T4       R2R7      ThRp?ii ; i)zJGet a list value from the dictionary and convert its items to a dataclass.Nr~   r   rp   )r   r   rC   r   r   r*   r   )r=   r   rW   r_   r   r   r   r   s   &&&     r0   _get_sequence_of_objectsr      s     q'3//8*,FOD)44T:JMM*% 
 M  O#AaF}A/FGQNOs   +A A4A//A4c               (    V ^8  d   QhRRRRRRRR/# )	r,   r=   r>   r   r   rW   rX   r-   zSequence[_FromMappingProtocolT]r.   )r/   s   "r0   r1   r1      s,      ,GNQ$r2   c                <    \        WV4      ;pf   \        V4      hV# )zSGet a required list value from the dictionary and convert its items to a
dataclass.)r   ry   )r=   r   rW   r   s   &&& r0   !_get_required_sequence_of_objectsr      s&    
 +1DDM%c**Mr2   c                    V ^8  d   QhRRRR/# )r,   rQ   rX   r-   r   r.   )r/   s   "r0   r1   r1      s        C  N  r2   c                Z    \        V 4      '       g   \        RV : R24      h\        V 4      # )z+Validate that a string is a NormalizedName.zName z is not normalized)r   r*   r   )rQ   s   &r0   _validate_normalized_namer      s-    d###eD83E$FGG$r2   c               $    V ^8  d   QhRRRRRR/# )r,   rN   
str | Noneurlr-   Noner.   )r/   s   "r0   r1   r1      s&     D DZ Dj DT Dr2   c                @    V '       g   V'       g   \        R 4      hR# R# )zpath or url must be providedN)r*   )rN   r   s   &&r0   _validate_path_urlr      s    #$BCC 4r2   c                    V ^8  d   QhRRRR/# )r,   rN   r   r-   r.   )r/   s   "r0   r1   r1      s     
 
Z 
J 
r2   c                    V '       g   R # RV 9   d   V P                  R^4      R,          # RV 9   d   V P                  R^4      R,          # V # )N/\)rsplitrT   s   &r0   
_path_namer      sI     d{{{3"2&&	{{4#B''r2   c                    V ^8  d   QhRRRR/# )r,   r   r   r-   r.   )r/   s   "r0   r1   r1     s     0 0: 0* 0r2   c                    V '       g   R # \        V 4      P                  p\        VP                  R^4      R,          4      # )Nr   r   )r   rN   r   r   )r   url_paths   & r0   	_url_namer     s2    }!!H8??3*2.//r2   c                    V ^8  d   QhRRRR/# )r,   hashesr>   r-   r.   )r/   s   "r0   r1   r1     s      . 3D r2   c                    V '       g   \        R 4      h\        ;QJ d*    R V P                  4        4       F  '       d   K   RM	  RM! R V P                  4        4       4      '       g   \        R4      hV # )z"At least one hash must be providedc              3  B   "   T F  p\        V\        4      x  K  	  R # 5ir4   )rb   rX   ).0hash_vals   & r0   	<genexpr>#_validate_hashes.<locals>.<genexpr>  s     IXz(C((s   FTzHash values must be strings)r*   allvalues)r   s   &r0   _validate_hashesr     sO    #$HII3II333IIII#$ABBMr2   c                  T    ] tR tRt$ RtRtR]R&   R]R&   RR/R R	 lltR
 R ltRt	R# )r*   i  z2Raised when when input data is not spec-compliant.Nr   rq   rX   messagec               $    V ^8  d   QhRRRRRR/# )r,   causezstr | Exceptionrq   r   r-   r   r.   )r/   s   "r0   r1   "PylockValidationError.__annotate__  s(     & && 	&
 
&r2   c               	
   \        V\        4      '       dW   VP                  '       d,   V'       d   V R VP                   2MVP                  V n        MW n        VP                  V n        R# W n        \	        V4      V n        R# ).N)rb   r*   rq   r   rX   )selfr   rq   s   &&$r0   __init__PylockValidationError.__init__  s^     e233}}}4;wiq0   ' ==DL"Lu:DLr2   c                   V ^8  d   QhRR/# r,   r-   rX   r.   )r/   s   "r0   r1   r   /  s       r2   c                	v    V P                   '       d   V P                   R V P                   : 2# V P                  # )z in rq   r   r   s   &r0   __str__PylockValidationError.__str__/  s/    <<<ll^4'788||r2   r   )
rE   rF   rG   rH   __doc__rq   __annotations__r   r   rJ   r.   r2   r0   r*   r*     s-    <GZL& #	&$ r2   c                  .   a  ] tR tRtR V 3R lltRtV ;t# )ry   i5  c                    V ^8  d   QhRRRR/# )r,   rW   rX   r-   r   r.   )r/   s   "r0   r1   $_PylockRequiredKeyError.__annotate__6  s     @ @C @D @r2   c                	*   < \         SV `  R VR7       R# )zMissing required valuerp   N)superr   )r   rW   	__class__s   &&r0   r    _PylockRequiredKeyError.__init__6  s    13?r2   r.   )rE   rF   rG   rH   r   rJ   __classcell__)r   s   @r0   ry   ry   5  s    @ @r2   ry   c                      ] tR tRtRtRtR# )r)   i:  z7Raised when encountering an unsupported `lock_version`.r.   NrE   rF   rG   rH   r   rJ   r.   r2   r0   r)   r)   :  s    Ar2   c                      ] tR tRtRtRtR# )r(   i>  zSBase exception for errors raised by :meth:`Pylock.select`.

.. versionadded:: 26.1
r.   Nr   r.   r2   r0   r(   r(   >  s    r2   TF)frozeninitc                      ] tR tRt$ R]R&   RtR]R&   RtR]R&   RtR]R&   R]R	&   RtR]R
&   RRRRRRR
R/R R llt	]
R R l4       tRtR# )r%   iE  rX   rt   Nr   r   rN   requested_revision	commit_idsubdirectoryc               4    V ^8  d   QhRRRRRRRRRRRRR	R
/# )r,   rt   rX   r   r   rN   r   r   r   r-   r   r.   )r/   s   "r0   r1   PackageVcs.__annotate__N  sR     ? ? ? 	?
 ? '? ? !? 
?r2   c               	   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       R# )rt   r   rN   r   r   r   Nobject__setattr__)r   rt   r   rN   r   r   r   s   &$$$$$$r0   r   PackageVcs.__init__N  sr     	4.4,4.4!57IJ4i84>r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r   a  s     
 
, 
 
r2   c                	   V ! \        V\        R 4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R4      R7      p\        VP                  VP
                  4       V# )rt   r   rN   zrequested-revisionz	commit-idr   )rt   r   rN   r   r   r   )rz   rX   rv   r   rN   r   )rB   r=   package_vcss   && r0   rC   PackageVcs._from_dict`  sq    q#v.QU#af%#As,@A#AsK8an5
 	;++[__=r2   r.   )rE   rF   rG   rH   r   r   rN   r   r   r   rI   rC   rJ   r.   r2   r0   r%   r%   E  sv    
ICD*%)
)N#L*#? 	?
  ? *.? $(?$ 
 
r2   c                  l    ] tR tRt$ R]R&   RtR]R&   RtR]R&   RRRR/R	 R
 llt]R R l4       t	Rt
R# )r#   in  rX   rN   Nbool | Noneeditabler   r   c               (    V ^8  d   QhRRRRRRRR/# )	r,   rN   rX   r   r   r   r   r-   r   r.   )r/   s   "r0   r1   PackageDirectory.__annotate__t  s4     
? 
? 
? 	
?
 !
? 

?r2   c               	    \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       R# )rN   r   r   Nr   )r   rN   r   r   s   &$$$r0   r   PackageDirectory.__init__t  s:     	4.4X64>r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r     s     
 
, 
 
r2   c           	     	r    V ! \        V\        R 4      \        V\        R4      \        V\        R4      R7      # )rN   r   r   )rN   r   r   )rz   rX   rv   rO   rA   s   &&r0   rC   PackageDirectory._from_dict  s3    q#v.!T:.an5
 	
r2   r.   )rE   rF   rG   rH   r   r   r   r   rI   rC   rJ   r.   r2   r0   r#   r#   n  sH    
I Hk #L*#
? !%	
?
 $(
? 
 
r2   c            
          ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R	&   R
]R&   Rt	R]R&   RRRRRRR	RRR/R R llt
]R R l4       tRtR# )r"   i  Nr   r   rN   
int | Nonesizedatetime | Noneupload_timeMapping[str, str]r   r   c               4    V ^8  d   QhRRRRRRRRRR	R
RRR/# )r,   r   r   rN   r   r   r   r   r   r   r   r-   r   r.   )r/   s   "r0   r1   PackageArchive.__annotate__  sR     ? ? ? 	?
 ? %? "? !? 
?r2   c               	   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       R# )r   rN   r   r   r   r   Nr   )r   r   rN   r   r   r   r   s   &$$$$$$r0   r   PackageArchive.__init__  sp     	4,4.4.4<4624>r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r     s     
 
, 
 
r2   c                	    V ! \        V\        R 4      \        V\        R4      \        V\        R4      \        V\        R4      \	        V\
        \        R4      \        V\        R4      R7      p\        VP                  VP                  4       V# )r   rN   r   upload-timer   r   )r   rN   r   r   r   r   )
rv   rX   rs   r   r   r   r   r   rN   r   )rB   r=   package_archives   && r0   rC   PackageArchive._from_dict  su    QU#af%af%Q-8#Aw0@(Kan5
 	?//1D1DEr2   r.   )rE   rF   rG   rH   r   r   rN   r   r   r   r   rI   rC   rJ   r.   r2   r0   r"   r"     s    CD*D*#'K'#L*#? ?  	?
  ? (,? $(?$ 
 
r2   c            
          ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R	]R
&   R]R&   RRRRRRRRR
R/R R llt
]R R l4       t]R R l4       tRtR# )r$   i  Nr   rQ   r   r   r   rN   r   r   r   r   c               4    V ^8  d   QhRRRRRRRRRRR	R
RR/# r,   rQ   r   r   r   r   rN   r   r   r   r   r-   r   r.   )r/   s   "r0   r1   PackageSdist.__annotate__  R     3 3 3 %	3
 3 3 3 "3 
3r2   c               	   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       R# rQ   r   r   rN   r   r   Nr   r   rQ   r   r   rN   r   r   s   &$$$$$$r0   r   PackageSdist.__init__  p     	4.4<4,4.4.462r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r         
 
, 
 
r2   c                	    V ! \        V\        R 4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R4      \	        V\
        \        R4      R7      p\        VP                  VP                  4       V# rQ   r  r   rN   r   r   )rQ   r   r   rN   r   r   
rv   rX   r   rs   r   r   r   r   rN   r   )rB   r=   package_sdists   && r0   rC   PackageSdist._from_dict  u    af%Q-8QU#af%af%#Aw0@(K
 	=--}/@/@Ar2   c                   V ^8  d   QhRR/# r   r.   )r/   s   "r0   r1   r    s      # r2   c                    V P                   ;'       g3    \        V P                  4      ;'       g    \        V P                  4      pV'       g   \        R4      hV# )z7Get the filename of the sdist.

.. versionadded:: 26.1
zCannot determine sdist filenamerQ   r   rN   r   r   r*   r   filenames   & r0   r  PackageSdist.filename  sC     99LL
499 5LL4889L'(IJJr2   r.   rE   rF   rG   rH   rQ   r   r   r   rN   r   r   rI   rC   propertyr  rJ   r.   r2   r0   r$   r$     s    D*#'K'CD*D*3  3 (,	3
 3  3  3$ 
 
  r2   c            
          ] tR tRt$ RtR]R&   RtR]R&   RtR]R&   RtR]R&   Rt	R	]R
&   R]R&   RRRRRRRRR
R/R R llt
]R R l4       t]R R l4       tRtR# )r&   i  Nr   rQ   r   r   r   rN   r   r   r   r   c               4    V ^8  d   QhRRRRRRRRRRR	R
RR/# r
  r.   )r/   s   "r0   r1   PackageWheel.__annotate__  r  r2   c               	   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       R# r  r   r  s   &$$$$$$r0   r   PackageWheel.__init__  r  r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r$    r  r2   c                	    V ! \        V\        R 4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R4      \	        V\
        \        R4      R7      p\        VP                  VP                  4       V# r  r  )rB   r=   package_wheels   && r0   rC   PackageWheel._from_dict  r  r2   c                   V ^8  d   QhRR/# r   r.   )r/   s   "r0   r1   r$    s      # r2   c                    V P                   ;'       g3    \        V P                  4      ;'       g    \        V P                  4      pV'       g   \        R4      hV# )zGet the filename of the wheel.zCannot determine wheel filenamer  r  s   & r0   r  PackageWheel.filename  sC     99LL
499 5LL4889L'(IJJr2   r.   r   r.   r2   r0   r&   r&     s    D*#'K'CD*D*3  3 (,	3
 3  3  3$ 
 
  r2   c                  6   ] tR tRt$ R]R&   RtR]R&   RtR]R&   RtR	]R
&   RtR]R&   Rt	R]R&   Rt
R]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RtR]R&   RRRRR
RRRRRRRRRRRRRRRRRRR/R R llt]R R l4       t]R  R! l4       tR"tR# )#r!   i  r   rQ   NVersion | NoneversionMarker | NonemarkerSpecifierSet | Nonerequires_python"Sequence[Mapping[str, Any]] | NonedependenciesPackageVcs | NonevcsPackageDirectory | None	directoryPackageArchive | Nonearchiver   indexPackageSdist | NonesdistSequence[PackageWheel] | Nonewheelsattestation_identitiesMapping[str, Any] | Nonetoolc               P    V ^8  d   QhRRRRRRRRR	R
RRRRRRRRRRRRRR
RRRR/# )r,   rQ   r   r0  r/  r2  r1  r4  r3  r6  r5  r8  r7  r:  r9  r<  r;  r=  r   r?  r>  rA  r@  rB  rD  rC  r-   r   r.   )r/   s   "r0   r1   Package.__annotate__'  s     / / /  	/
 / -/ 9/ / +/ '/ / #/ ./ !C/ '/  
!/r2   c               	\   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV	4       \         P                  V R	V
4       \         P                  V R
V4       \         P                  V RV4       \         P                  V RV4       R# )rQ   r0  r2  r4  r6  r8  r:  r<  r=  r?  rA  rB  rD  Nr   )r   rQ   r0  r2  r4  r6  r8  r:  r<  r=  r?  rA  rB  rD  s   &$$$$$$$$$$$$$r0   r   Package.__init__'  s    $ 	4.4G44624!2OD4>4,4i84G44%04%04624!9;QR4.r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   rF  H  s     N N, N Nr2   c                	8   V ! \        V\        \        R 4      \        V\        \        R4      \        V\        \
        R4      \        V\        R4      \        V\        \        R4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        R	4      \        V\         R
4      \        V\        R4      \        V\        R4      R7      p\#        VP$                  4      \'        VP(                  ;'       g    . 4      ,           p\#        VP*                  4      \#        VP,                  4      ,           \#        VP.                  4      ,           pV^ 8  d   V^ 8  d   \1        R4      hV^ 8X  d   V^8w  d   \1        R4      h\3        VP(                  ;'       g    . 4       F  w  rV \5        VP6                  4      w  rx p	YrP:                  8w  d.   \1        RTP6                  : RTP:                  : 2RT R2R7      hTP<                  '       g   Kp  YP<                  8w  g   K  \1        RTP6                  : R\        TP<                  4      : 2RT R2R7      h	  VP$                  '       d    \?        VP$                  P6                  4      w  rxYrP:                  8w  d4   \1        RTP$                  P6                  : RTP:                  : 2R	R7      hTP<                  '       dM   YP<                  8w  d=   \1        RTP$                  P6                  : R\        TP<                  4      : 2R	R7      h \3        VP@                  ;'       g    . 4       F  w  r[\C        V\        R4       K  	  V#   \8         d&   p
\1        RTP6                  : 2RT R2R7      T
hRp
?
ii ; i  \8         d,   p
\1        RTP$                  P6                  : 2R	R7      T
hRp
?
ii ; i  \8         d   p
\1        T
RX R2R7      T
hRp
?
ii ; i)rQ   r0  requires-pythonr6  r2  r8  r:  r<  r=  r?  rA  zattestation-identitiesrD  )rQ   r0  r4  r6  r2  r8  r:  r<  r=  r?  rA  rB  rD  zFNone of vcs, directory, archive must be set if sdist or wheels are setzRExactly one of vcs, directory, archive must be set if sdist and wheels are not setzInvalid wheel filename zwheels[r   rp   NzName in z% is not consistent with package name zVersion in z( is not consistent with package version zInvalid sdist filename kindzattestation-identities[)"r   rX   r   r   r   r   r   r   r   r   r%   r#   r"   rv   r$   r   r&   rO   r?  r   rA  r8  r:  r<  r*   r   r   r  r   rQ   r0  r   rB  rz   )rB   r=   packagedistributionsdirect_urlsr   wheelrQ   r0  rZ   r   attestation_identitys   &&          r0   rC   Package._from_dictG  s   !!S*CVLAsGY7#AsL:KL&q'>B1c684Az51!!%5{C>9=q#w'aw7+A|XF#0G=U#Va&)
 W]]+c'..2F2FB.GGW%6%6 77$w:OO 	 1q'X  A+"2'2  "'.."6"6B7HA(<U^^(L%1 ||#+u~~0 1$$+LL#35%aSN 
 7oo#=+!%..!3 4''*7??';&>@%aSN  8( === 4W]]5K5K L ||#+w}}558 9$$+LL#35# 
 7oo#=+!'--"8"8!; <''*7??';&>@# 
	+4..44",' 2C@, ]  +-enn-?@%aSN (  +-gmm.D.D-GH# ,  	'4QCq9	sN   N!N> O7 (!O7 N; N66N;>O4	&O//O47PPPc                   V ^8  d   QhRR/# )r,   r-   rO   r.   )r/   s   "r0   r1   rF    s     / /4 /r2   c                	L    V P                   ;'       g    V P                  '       * # r4   )r?  rA  r   s   &r0   	is_directPackage.is_direct  s    JJ--$++..r2   r.   )rE   rF   rG   rH   r   r0  r2  r4  r6  r8  r:  r<  r=  r?  rA  rB  rD  r   rI   rC   r!  rU  rJ   r.   r2   r0   r!   r!     s6   
"G^" FM +/O(/7;L4;!C	!)-I&-%)G")E:!%E%,0F)0AE>E%)D
")/ #'	/
 !%/ 04/ <@/ "&/ .2/ *./ !/ &*/ 15/ FJ/ *./@ N N` / /r2   c                     ] tR tRt$ RtR]R&   RtR]R&   RtR]R	&   RtR
]R&   Rt	R]R&   Rt
R]R&   R]R&   R]R&   RtR]R&   RRR	RRRRRRRRR/R R llt]R R l4       t]R R l4       tR R ltR R ltRRR RRRRRR!R/R" R# lltR$tR# )%r'   i  z#A class representing a pylock file.r   lock_versionNSequence[Marker] | Nonera   r3  r4  Sequence[NormalizedName] | NoneextrasSequence[str] | Nonedependency_groupsdefault_groupsrX   
created_bySequence[Package]packagesrC  rD  c               @    V ^8  d   QhRRRRRRRRR	R
RR
RRRRRRRR/
# )r,   rX  r   ra   rY  r4  r3  r[  rZ  r]  r\  r^  r_  rX   ra  r`  rD  rC  r-   r   r.   )r/   s   "r0   r1   Pylock.__annotate__  sp     / / / .	/
 -/ 0/ 0/ -/ / $/ '/ 
/r2   c       	        	   \         P                  V R V4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV4       \         P                  V RV	4       R	# )
rX  ra   r4  r[  r]  r^  r_  ra  rD  Nr   )
r   rX  ra   r4  r[  r]  r^  r_  ra  rD  s
   &$$$$$$$$$r0   r   Pylock.__init__  s     	4>4>4!2OD4624!46GH4!1>B4z:4X64.r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   rc    s      ,  r2   c                	^   V ! \        V\        \        R 4      \        V\        \        R4      \        V\        \
        R4      \        V\        R4      \        V\        R4      \        V\        R4      \        V\        \        R4      \        V\        R4      \        V\        R4      R	7	      p\        R
4      VP                  u;8:  d   \        R4      8  g   M \        RVP                   R24      hVP                  \        R4      8  d!   \         P#                  RVP                  4       V# )zlock-versionra   r[  zdependency-groupszdefault-groupsz
created-byrK  ra  rD  )	rX  ra   r[  r]  r^  r_  r4  ra  rD  12zpylock version z is not supportedz1.0z(pylock minor version %s is not supported)r   rX   r   r   r   r   r   rz   r   r   r   r!   rv   r   rX  r)   _loggerwarning)rB   r=   pylocks   && r0   rC   Pylock._from_dict  s    )!S'>J)!S&.I#As,ExP+As4GH(C1AB$Q\:#AsL:KL6q':Na&)

 s|v22AWS\A/!&"5"5!66GH  /OO:F<O<O r2   c                    V ^8  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   rc    s     ! !+ !4 !r2   c               $    V P                  V4      # )zCreate and validate a Pylock instance from a TOML dictionary.

Raises :class:`PylockValidationError` if the input data is not
spec-compliant.
)rC   rA   s   ""r0   	from_dictPylock.from_dict  s     ~~a  r2   c                   V ^8  d   QhRR/# )r,   r-   r>   r.   )r/   s   "r0   r1   rc    s     I I* Ir2   c                :    \         P                  ! V \        R7      # )z1Convert the Pylock instance to a TOML dictionary.)dict_factory)dataclassesasdictrh   r   s   &r0   to_dictPylock.to_dict  s    !!$5GHHr2   c                   V ^8  d   QhRR/# )r,   r-   r   r.   )r/   s   "r0   r1   rc    s     ' '$ 'r2   c                D    V P                  V P                  4       4       R# )ziValidate the Pylock instance against the specification.

Raises :class:`PylockValidationError` otherwise.N)rp  rw  r   s   &r0   validatePylock.validate  s     	t||~&r2   environmenttagsprefer_sdist_predicatec               0    V ^8  d   QhRRRRRRRRRR	R
R/# )r,   r}  zEnvironment | Noner~  zSequence[Tag] | Noner[  zCollection[str] | Noner]  r  z'Callable[[NormalizedName], bool] | Noner-   zfIterator[tuple[Package, PackageVcs | PackageDirectory | PackageArchive | PackageWheel | PackageSdist]]r.   )r/   s   "r0   r1   rc    sQ     B* B* (B* #	B*
 'B* 2B* !HB*	
B*r2   c             #    "   \        Ve   TM	\        4       4      p\        R\        T;'       g    / \	        T;'       g    . 4      \	        Vf   V P
                  ;'       g    . MT4      R7      4      p\        V'       d
   VR,          M\        4       R,          4      pV P                  '       dH   V P                  P                  V4      '       g'   \        RV: R\        V P                  4      : 24      hV P                  '       dN   V P                   F2  p	T	P                  \        RT;'       g    / 4      RR	7      '       g   K2   M	  \        R
4      h/ p
\        V P                  4       F  w  rVP                   '       d&   VP                   P                  VRR	7      '       g   K<  VP                  '       dZ   VP                  P                  V4      '       g9   \        RV: R\        VP                  4      : RVP"                  : RV R2	4      hVP"                  V
9   d8   \        RVP"                  : RV RWP"                  ,          ^ ,           R24      hW3WP"                  &   EK  	  V
P%                  4        EFB  w  rVP&                  e   WP&                  3x  K%  VP(                  e   WP(                  3x  KD  VP*                  e   WP*                  3x  Kc  VP,                  e.   Ve*   V! VP"                  4      '       d   WP,                  3x  K  VP.                  '       dp   \1        V! R VP.                   4       4      R4      pV'       d   W3x  K  VP,                  e   WP,                  3x  EK  \        RVP"                  : RV R24      hVP,                  e   WP,                  3x  EK?  \2        h	  R# 5i)a  Select what to install from the lock file.

The *environment* and *tags* parameters represent the environment being
selected for. If unspecified, ``packaging.markers.default_environment()`` and
``packaging.tags.sys_tags()`` are used.

The *extras* parameter represents the extras to install.

The *dependency_groups* parameter represents the groups to install. If
unspecified, the default groups are used.

The *prefer_sdist_predicate* parameter is called for packages with a source
distribution. If it returns ``True``, the source distribution is selected
before attempting wheel compatibility. If no source distribution is
available, wheel selection proceeds as usual without calling the predicate.

This method must be used on valid Pylock instances (i.e. one obtained
from :meth:`Pylock.from_dict` or if constructed manually, after calling
:meth:`Pylock.validate`).

.. versionadded:: 26.1

.. versionchanged:: 26.3
    Added the *prefer_sdist_predicate* parameter.
Nzdict[str, str | frozenset[str]])r[  r]  python_full_versionzpython_full_version zI in provided environment does not satisfy the Python version requirement zdict[str, str]requirementrp   zXProvided environment does not satisfy any of the environments specified in the lock file	lock_filez for package z at packages[r   z Multiple packages with the name z are selected at packages[z] and packages[c              3  ^   "   T F#  pV\        VP                  4      R,          3x  K%  	  R# 5i)   Nr   )r   r  )r   rP  s   & r0   r    Pylock.select.<locals>.<genexpr>  s+      -%3E  4U^^ DR HI%3s   +-z6No wheel found matching the provided tags for package z'], and no sdist available as a fallback)r   r   r   dict	frozensetr^  r   r   r4  containsr(   rX   ra   evaluater   ra  r2  rQ   r   r8  r:  r<  r?  rA  nextNotImplementedError)r   r}  r~  r[  r]  r  compatible_tags_selectorenvenv_python_full_version
env_markerselected_packages_by_namepackage_indexrM  
best_wheels   &$$$$$        r0   selectPylock.select  s    V $C$D(*$
  -!!r 2."+(0 ((..B*#
 #> -.$&'<=#
 (<(<(E(E#)
 )
 $&'>&A B"4#7#78;=  "//
&&);+<+<"=} '   	 0 (>  EG!&/&>"M ~~~gnn&=&=c;&=&W&W &&&w/F/F/O/O'0 0 (*+B*E F##&w'>'>#?"B-||&mM?!E  ||88'6w||6F G,,9? ;  9,, G JK1N  8E6N%ll3C '?H '@&F&F&H"M{{&{{** "".0000 ,..
 )*6*7<<88}},, 
 ", -%,^^-  
 !--]].!==00+''.||&6 7''4o 6?@  *}},, *)m 'IsV   -O
O
 !O
"AO
1 O
7O

(O
3O
AO
(O
< O
D0O
"O
1BO
r.   )rE   rF   rG   rH   r   r   ra   r4  r[  r]  r^  rD  r   rI   rC   rp  rw  r{  r  rJ   r.   r2   r0   r'   r'     s   -,0L)0+/O(/.2F+2.2+2+/N(/O%)D
")/ 15	/
 04/ 37/ 37/ 04/ *./0  , ! !I'B* +/B* &*	B*
 *.B* 59B* KOB* B*r2   )r!   r"   r#   r$   r%   r&   r'   r(   r)   r*   rU   )U
__future__r   ru  loggingrecollections.abcr   r   r   r   typingr   r	   r
   r   r   r   urllib.parser   r   markersr   r   r   r   
specifiersr   r~  r   r   utilsr   r   r   r   r0  r   r   r   pathlibr   typing_extensionsr   r    	getLoggerrE   rj  r5   r6   r7   r8   r:   rK   compilerR   rU   r]   rd   rh   rv   rz   r   r   r   r   r   r   r   r   r   r   r   r   r   r*   ry   r)   r(   r%   r#   r"   r$   r&   r!   r'   r.   r2   r0   <module>r     s5   "   	 - !   +  % ;  4&


H
% T]en;8 ;
   7?ST  zz"<= U
! ,;&
&	;  D

0I <@3 @
B$9 B	  $U#% % $%P $U#
 
 $
4 $U#% % $%P $U#0 0 $0f $U#- - $-` $U#B/ B/ $B/J $U#Q* Q* $Q*r2   