+
    ª¬‚jp  ã                  ó²   a € 0 t $ R t^ RIHt ^ RIt^ RIt^ RIHtHt ^ RI	H
t
 ^ RIHt Rt ! R R]4      tRsR	]R
&   RR R lltR R ltRRRR/R R lltR# )zN
A module that implements tooling to enable easy warnings about deprecations.
)ÚannotationsN)ÚAnyÚTextIO)Úparse)Ú__version__zDEPRECATION: c                  ó   € ] tR t^tRtR# )ÚPipDeprecationWarning© N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__static_attributes__r	   ó    Ú\/Users/cheyod/AIGC/DSH/.venv/lib/python3.14/site-packages/pip/_internal/utils/deprecation.pyr   r      s   † Ûr   r   r   Ú_original_showwarningc               ó4   € V ^8„  d   QhRRRRRRRRR	R
RRRR/# )é   ÚmessagezWarning | strÚcategoryztype[Warning]ÚfilenameÚstrÚlinenoÚintÚfilezTextIO | NoneÚlineú
str | NoneÚreturnÚNoner	   )Úformats   "r   Ú__annotate__r       sW   € ÷ Oñ OØðOàðOð ðOð ð	Oð
 ðOð ðOð 
ñOr   c                óØ   € Ve   \         e   \        WW#WE4       R # R # \        V\        4      '       d*   \        P                  ! R4      pVP                  V 4       R # \        WW#WE4       R # )Nzpip._internal.deprecations)r   Ú
issubclassr   ÚloggingÚ	getLoggerÚwarning)r   r   r   r   r   r   Úloggers   &&&&&& r   Ú_showwarningr'      sZ   € ð ÒÜ Ò,Ü! '°XÀtÖRñ -ä	�HÔ3×	4Ò	4ô ×"Ò"Ð#?Ó@ˆØ�‰�wÖä˜g°À4ÖNr   c               ó   € V ^8„  d   QhRR/# )r   r   r   r	   )r   s   "r   r    r    .   s   € ÷ ,ñ , ñ ,r   c                 ó’   € \         P                  ! R \        RR7       \        f"   \         P                  s\
        \         n        R# R# )ÚdefaultT)ÚappendN)ÚwarningsÚsimplefilterr   r   Úshowwarningr'   r	   r   r   Úinstall_warning_loggerr/   .   s6   € ä×Ò˜)Ô%:À4ÕHô Ò$Ü (× 4Ñ 4ÐÜ+ŒÖñ %r   Úfeature_flagÚissuec               ó0   € V ^8„  d   QhRRRRRRRRRRR	R
/# )r   Úreasonr   Úreplacementr   Úgone_inr0   r1   z
int | Noner   r   r	   )r   s   "r   r    r    9   sV   € ÷ EIñ EIàðEIð ðEIð ð	EIð
 ðEIð ðEIð 
ñEIr   c                ó<  € VRJ;'       d    \        \        4      \        V4      8¬  pV \         R23TV'       g   RMR3VR3TV'       g   RMR3VR3.pRP                  R	 V 4       4      pV'       d   \	        V4      h\
        P                  ! V\        ^R
7       R# )a¼  Helper to deprecate existing functionality.

reason:
    Textual reason shown to the user about why this functionality has
    been deprecated. Should be a complete sentence.
replacement:
    Textual suggestion shown to the user about what alternative
    functionality they can use.
gone_in:
    The version of pip does this functionality should get removed in.
    Raises an error if pip's current version is greater than or equal to
    this.
feature_flag:
    Command-line flag of the form --use-feature={feature_flag} for testing
    upcoming functionality.
issue:
    Issue number on the tracker that would serve as a useful place for
    users to find related discussion and provide feedback.
Nz{}z*pip {} will enforce this behaviour change.z*Since pip {}, this is no longer supported.zA possible replacement is {}.zEYou can use the flag --use-feature={} to test the upcoming behaviour.z@Discussion can be found at https://github.com/pypa/pip/issues/{}Ú c              3  ó`   "  € T F$  w  rVf   K  Vf   K  VP                  V4      x € K&  	  R # 5i)N)r   )Ú.0ÚvalueÚ
format_strs   &  r   Ú	<genexpr>Údeprecated.<locals>.<genexpr>t   s5   é € ð á!.ÑˆEØô 	!à&+ô 	!ˆ
×Ñ˜%× Ð Û!.ùs   ‚.�.•.)r   Ú
stacklevel)r   Úcurrent_versionÚDEPRECATION_MSG_PREFIXÚjoinr   r,   Úwarn)r3   r4   r5   r0   r1   Úis_goneÚmessage_partsr   s   $$$$$   r   Ú
deprecatedrE   9   sÃ   € ð: ˜TÐ!×NÐN¤e¬OÓ&<ÄÀgÃÑ&N€Gð 
Ô*Ð+¨4Ð0Ð1à÷ ñ =àAð	
ð Ø+ð	
ð
 ÷ ñ Xàð	
ð ØNð	
ð-€Mð8 �h‰hñ á!.óó €G÷ Ü# GÓ,Ð,ä‡M‚M�'Ô$9Àa×Hr   )NN)Ú__conditional_annotations__Ú__doc__Ú
__future__r   r#   r,   Útypingr   r   Úpip._vendor.packaging.versionr   Úpipr   r?   r@   ÚWarningr   r   Ú__annotations__r'   r/   rE   )rF   s   @r   Ú<module>rN      so   øðôõ #ã Û ß å /å .à(Ð ô	˜Gô 	ð "Ð �sÓ !÷Oõ(,ðEIð
  $ðEIð ÷EIñ EIr   