Ë
    ��h{  ã                   ó  — U d Z ddlZddlZddlmZmZmZmZmZ ddl	m
Z
 ddlmZ dZ G d„ de«      Zdaeed	<   	 	 dd
eeef   dee   dededee   dee   ddfd„Zdd„Zdddœdedee   dee   dee   dee   ddfd„Zy)zN
A module that implements tooling to enable easy warnings about deprecations.
é    N)ÚAnyÚOptionalÚTextIOÚTypeÚUnion)Úparse)Ú__version__zDEPRECATION: c                   ó   — e Zd Zy)ÚPipDeprecationWarningN)Ú__name__Ú
__module__Ú__qualname__© ó    ú]/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/pip/_internal/utils/deprecation.pyr   r      s   „ Ør   r   Ú_original_showwarningÚmessageÚcategoryÚfilenameÚlinenoÚfileÚlineÚreturnc                 óÆ   — |�t         �t        | |||||«       y y t        |t        «      r't        j                  d«      }|j                  | «       y t        | |||||«       y )Nzpip._internal.deprecations)r   Ú
issubclassr   ÚloggingÚ	getLoggerÚwarning)r   r   r   r   r   r   Úloggers          r   Ú_showwarningr       sc   € ð ÐÜ Ð,Ü! '¨8°X¸vÀtÈTÕRð -ä	�HÔ3Ô	4ô ×"Ñ"Ð#?Ó@ˆØ�‰�wÕä˜g x°¸6À4ÈÕNr   c                  óˆ   — t        j                  dt        d¬«       t        € t         j                  at
        t         _        y y )NÚdefaultT)Úappend)ÚwarningsÚsimplefilterr   r   Úshowwarningr    r   r   r   Úinstall_warning_loggerr'   ,   s6   € ä×Ñ˜)Ô%:À4ÕHô Ð$Ü (× 4Ñ 4ÐÜ+ŒÕð %r   )Úfeature_flagÚissueÚreasonÚreplacementÚgone_inr(   r)   c                 ó  — |duxr t        t        «      t        |«      k\  }| t        › d�f||sdndf|df||sdndf|dfg}dj                  d	„ |D «       «      }|rt	        |«      ‚t        j                  |t        d
¬«       y)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   óL   K  — | ]  \  }}|�|�|j                  |«      –— Œ y ­w)N)Úformat)Ú.0ÚvalueÚ
format_strs      r   ú	<genexpr>zdeprecated.<locals>.<genexpr>r   s2   è ø€ ò áˆE�:ØÐ! eÐ&7ð 	×Ñ˜%× ñùs   ‚"$é   )r   Ú
stacklevel)r   Úcurrent_versionÚDEPRECATION_MSG_PREFIXÚjoinr   r$   Úwarn)r*   r+   r,   r(   r)   Úis_goneÚmessage_partsr   s           r   Ú
deprecatedr=   7   sÀ   € ð: ˜TÐ!ÒN¤e¬OÓ&<ÄÀgÃÑ&N€Gð 
Ô*Ð+¨4Ð0Ð1àñ ñ =àAð	
ð Ø+ð	
ð
 ñ ñ Xàð	
ð ØNð	
ð-€Mð8 �h‰hñ à!.ôó €Gñ Ü# GÓ,Ð,ä‡M�M�'Ô$9ÀaÖHr   )NN)r   N)Ú__doc__r   r$   Útypingr   r   r   r   r   Úpip._vendor.packaging.versionr   Úpipr	   r7   r8   ÚWarningr   r   Ú__annotations__ÚstrÚintr    r'   r=   r   r   r   ú<module>rF      s  ðòó Û ß 5Õ 5å /å .à(Ð ô	˜Gô 	ð "Ð �sÓ !ð "ØñOØ�7˜C�<Ñ ðOà�7‰mðOð ðOð ð	Oð
 �6Ñ
ðOð �3‰-ðOð 
óOó(,ð  #'ØòEIàðEIð ˜#‘ðEIð �c‰]ð	EIð
 ˜3‘-ðEIð �C‰=ðEIð 
ôEIr   